Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set a Global Variable and use it?

Status
Not open for further replies.

wannalrn

Programmer
Sep 6, 2006
14
US
I saw the section in the PDF for global variable... but I'm not able to set the global variable and use it. If any one has time to explain this in a smiple way to me, I will be very thankful!
 
As I understand it, it goes as follows
Go to Tools, Library Organiser
Click New
Type in a file name and save as a .bas file
This will open the basic editor
enter code
Global Variables are created in a Declare, End Declare Section

This basic source file is then included in you libraries and is generated at run time. Good Luck.
 
Thanks for the help, I'll try that. Hopefully I can get it going from here.
 
I'm really new to Actuate, but I believe in addition to the technique described by ASG0856, you could also define a "global variable" by creating a parameter and making it Hidden.
 
depends on what you want to do with that variable as well. Another option is to create a publice variable in the root of you report. Make the variable static and it ca be used by all objects as long s your value is not changing
 
If you are changing the values how do you use a variable
I tried to define a variable as global then it disappeared from the properties list. How do I view a global variable on the property list
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top