CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 dynamically modify the INSERT statement on EditGrid

Print topic Send  topic

Author Message
udstx

Posts: 10
Posted: 08/09/2012, 2:57 PM

I have an Editable Grid that displays several (but not all) of the fields in a table. When I insert a new record, I need to set a couple of the non-displayed data field values to a value that is passed as a URL parameter. I can get the desired parameter but do not see how to modify the SQL INSERT statement. The passed parameter will be the same value for each record inserted with the SUBMIT button. It looks like I need to modify the statement with the 'Before Execute Insert'.

I tried working with 'Custom Insert' without success.

CCS 5.x
Windows 7-Pro
Mysql 5.x

Any help or directions??
View profile  Send private message
DataDoIT
Posted: 08/10/2012, 4:44 AM

From the Editable Grid's Properties -> Data tab, choose Custom Insert
and build it there. One of your fields will have a parameter source
from the URL.
udstx

Posts: 10
Posted: 08/10/2012, 6:58 AM

SOLVED - The issue was that I was using the 'Custom Insert Type"=SQL and needed to use type TABLE

Thanks for the response
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.