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

 Use of auto-generated variable in Server Events custom code ?

Print topic Send  topic

Author Message
thierrybo

Posts: 8
Posted: 01/31/2005, 1:08 PM

Hi,

If I create a "server event" custom code, CCS automatically add a variable set to true at the begining of custom code and return this variable at the end, like this :

//xxxxxx_Button_Insert_BeforeShow @3-BA8FE65A  
function wrg_wargame_Button_Insert_BeforeShow()  
{  
    $xxxxxx_Button_Insert_BeforeShow = true;  
//End xxxxxx_Button_Insert_BeforeShow  
  
//Custom Code @29-6430EFD3  
// -------------------------  
    global $xxxxxx;  
    // Type your custom code here  
// -------------------------  
//End Custom Code  
  
//Close xxxxxx_Button_Insert_BeforeShow @3-772AD2CB  
    return $xxxxxx_Button_Insert_BeforeShow;  
}  
//End Close xxxxxx_Button_Insert_BeforeShow

I don't see for the moment any visible effect/use for it ?

Thanks,

Thierry B.
View profile  Send private message
Nicole

Posts: 586
Posted: 02/01/2005, 2:53 AM

Thierry,
Variables
$FormName_EventName are stored in CCSEventsResult variable of a form’s class:
  
class clsRecordFormName {  
...  
var $CCSEventResult;  
...  
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");  
In fact they are not extensively used in CCS2.x, you can use results of events execution in other events code if necessary

_________________
Regards,
Nicole
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.

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.