CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 get current id/key in beforeexecutedelete event of editable grid

Print topic Send  topic

Author Message
TheunisP

Posts: 340
Posted: 11/05/2011, 1:31 AM

if you tried this you will know that the <Gridname>.Datasource.Where works when you are not using custom delete/update but fails when you do, however when using custom events CCS exposes all the keys/ids in the collecttion WhereParameters.

with Custom events you can access any key used:
<Gridname>.Command.WhereParameters.ParameterSources("ds<youKeyName>")

while with non-custom standard this should return the where as CCS builds it:
<Gridname>.Datasource.Where

this is however a work/tip in progress - the holy grail is to find one that works in both instances - something CCS dev neglected to do it seems.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.