on 10-19-2008 1:22 AM
I would like to declare and initialize a Global variable in the Record Selection section. This code is inserted into the record selection formula:
.....
Global x As Number
x = 10
.....
But when I try to use x in one of the report sections, I get nothing, as in ....
Global x As Number
Formula = x 'returns nothing
Is it not possible to declare and initialize a Global variable in the Record Selection section?
Thank you,
Art
Hi
Please use "While Reading Records" as the first line in the formula where you are using this variable.
If there is no change then assign the value of x to some other variable in the record selection (say y) and then use 'y' in the desired formula along with "While Readig Records".
Pleas elet me know the results.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That was it. Thank you Prathemesh.
Art
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.