Roeby
|
| Posted: 12/02/2002, 6:48 AM |
|
Using Studio and PHP
In the before show event of a form I can use the following code:
global $gridname;
$gridname->label->SetValue(value);
If I try to use the same code in a page that is set as includeable I get:
Call to a member function on a non-object
Do I have to modify the code for an includeable page?
Thanks in advance.
|
|
|
 |
Roeby
|
| Posted: 12/02/2002, 7:17 AM |
|
Sorted it,
I should have called it as
global $formname;
$formname->gridname->label->SetValue(value);
when it is an include page.
|
|
|
 |
|