Click to See Complete Forum and Search --> : global variables urgent,


mumbo_s5
May 10th, 2006, 12:24 AM
hey
i declare 3 global variables inside a formula.but can not refer those variables in another formula in the same report.

tell me how & where to declare global variables.
thanx.

vidubhushan
May 11th, 2006, 04:51 AM
hi
try using this way :

formula @x
numbervar a;
a:=10+20;

formula @y
numbervar b;
numbervar a;
b:= 20+30;
b:=a+b;

as many variable as you want decalre in a formula, but the each formula should declare the variable.

This will give an idea about the global varialbles.
please try and let me know.

Madhi
May 27th, 2006, 10:00 AM
Use shared variable also. Read it more in help file