HI all,
I had a situation where I have use the manual running total
so i create 3 formulas like
1) to initiliaze the variable
whileprintingrecords;
numbervar cnt;
cnt := 0;
2) To increment the variable
whileprintingrecords;
numbervar cnt := cnt + 1;
3) To show the variable
whileprintingrecords;
numbervar cnt;
and then I place the first formula in report header
second formula in details section a
second fornula again in detais section b
third formula in report footer.
now what i expect is like this
RH 0
DA 1
DB 2
RF 2
HOWEVER i get values like this
RH 0
DA 1
DB 1
RF 1
Thanks in advance.
I had a situation where I have use the manual running total
so i create 3 formulas like
1) to initiliaze the variable
whileprintingrecords;
numbervar cnt;
cnt := 0;
2) To increment the variable
whileprintingrecords;
numbervar cnt := cnt + 1;
3) To show the variable
whileprintingrecords;
numbervar cnt;
and then I place the first formula in report header
second formula in details section a
second fornula again in detais section b
third formula in report footer.
now what i expect is like this
RH 0
DA 1
DB 2
RF 2
HOWEVER i get values like this
RH 0
DA 1
DB 1
RF 1
Thanks in advance.