I want to display page wise running totals i.e. the running total should be reset after each page. How can I achieve this as I can not find any way of doing this.
I am stuck with this problem can somebody pls help
One way to do this would be to create manual running totals using formulas i.e.
Place this in the Page Header section and suppress it
//@Reset
WhilePrintingRecords;
Shared NumberVar RTotal :=0;
Place this in the whichever section contains the field you want to total
//@RunningTotal
WhilePrintingRecords;
Shared NumberVar RTotal := RTotal + {Field to total};
RTotal
Place this in the page footer section
//@Display
WhilePrintingRecords;
Shared NumberVar RTotal;
RTotal
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.