Guru
| Robert, Sorry for the confusion I gave you. Looking back I see that my comment wasn't as clear as it should have been. You still need to -SET a variable to use it, what I meant was you could choose between saving the value of your parameter with a DEFINE or use a Global Variable to store the parameter between procedures. A Global variable (&&VAR) is available across all reports that a user runs for their session while a regular variable (&VAR) is only available for the FEX it is -SET in - unless passed to another procedure. I tend to use &&VAR in places where I would use constants in another programming language - I usually don't expect an &&VAR to change often. Depending on the size ands number of your variables and your data source the Global Variable would be more efficient - if you look at your data you will see that the variable is repeated for each row of data. Generally not an issue but with really large data sets it could effect performance. Glad you got things working Stu
WebFOCUS 8.2.03 (8.2.06 in testing)
|
| Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007 |
IP
|
|
Master
| Thank you Stu!
WebFOCUS 8206.08 Windows, All Outputs
|
| |