Hi All,
I have a query regarding global variables.
My code is something like this:
global numbervar x;
if (Afield)>1 then x:=x+1;
I have grouped my records according to a field Bfield. Now the global variable will keep on incrementing for each record evaluation but i want to reset it on start of the next group:
For eg: Currently the output is like this:
Bfield value 1
1
2
3
Bfield value 2
4
5
6
But i want the output in this way:
Bfield value 1
1
2
3
Bfield value 2
1
2
3
Is this possible?