Hi,
I need to print a subtotal on every page. My data are displayed in the detail section of the subreport.
The shared formula that I create in details section is:
WhilePrintingRecords;
Shared NumberVar totale;
totale:= totale + {ArticoloFattura.totale};
and the total are display corrected on every line. (see attachment).
In the the pagefootersection of main report, I display a formula that contains:
WhilePrintingRecords;
Shared NumberVar totale;
totale;
The problem is that in the first page the total are alway 0. In the next page the subtotal is the last value of the first page and so on.
It's my mistake?
Thk you for your help.
Sacha