CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to modify the INSERT list

Print topic Send  topic

Author Message
reinel_arias

Posts: 3
Posted: 07/30/2009, 10:11 PM

Greetings 2 all,

I have a mysql db's table: elements (name,class,ip,mem,hd)
I have a grid to capture the textboxes name,ip,mem and hd (but not class)
Given that I already knew the 'class' field value - cos I got it thru the URL -,
I want to modify the INSERT list before it be executed so that I can add the field 'class' and its value to it.

What code must I add? Responding on which event?

Oh!!. I cook with PHP, but I have no experience in coding with CCS. :(

thank you
View profile  Send private message
damian

Posts: 838
Posted: 07/30/2009, 11:12 PM

create a hidden field and in a before show event on the field do something like:
$Component->SetValue(CCGetFromGet("class",""));



_________________
if you found this post useful take the time to help someone else.... :)
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.

Web Database

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.