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