CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Includable page events CC Studio

Print topic Send  topic

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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.