I have a subreport, a
formula in subreport shared numbervar ws={field}
In the report, I have
formula: shared numbervar ws:=0;
formula 1: shared numbervar ws;
formula 2: shared numbervar ws;
numbervar w;
w=w+ws;
In the report footer I just print w;
Everything works ok, but I have to print in the report just w; and when I suppress or hide the subreport, w=0. I have tryed using whileprintingrecords, but is the same.
Thank you very much
formula in subreport shared numbervar ws={field}
In the report, I have
formula: shared numbervar ws:=0;
formula 1: shared numbervar ws;
formula 2: shared numbervar ws;
numbervar w;
w=w+ws;
In the report footer I just print w;
Everything works ok, but I have to print in the report just w; and when I suppress or hide the subreport, w=0. I have tryed using whileprintingrecords, but is the same.
Thank you very much