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 -> General/Other

 referencing value between forms on the same page

Print topic Send  topic

Author Message
drpcken

Posts: 60
Posted: 09/23/2004, 9:05 AM

I have 2 forms on of my pages, I'm trying to grab the value of one control on one form and reference the value in my other form. I tried <formname><control>.value but it says its not declared. Also tried item.<formname><control>.value and still doesn't work.
View profile  Send private message
GeorgeS

Posts: 206
Posted: 09/23/2004, 11:17 AM

Example.
Form & Grid

Form displays a record value in a textbox.
To grab it & display in your Grid in each row go to Grid's BeforeShowRow event and type:
in PHP

global $FormName;
$GridName->ControlName->SetValue($FormName->ControlName->GetValue());

in ASP
GridName.ControlName.Value =FormName.ControlName.Value



_________________
GeorgeS
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.