The total would only be available at the end of the report, however.
If you want the total page count earlier, then use the above formula for the group page numbers by adding a reset formula:
whileprintingrecords;
numbervar pageno := 0;
If your page number is in the page header, then place the reset in the group footer. If the page number is in the page footer, then add the reset in the group header. Then you can go to the field explorer->special fields and add "totalpagecount" to your report. You can place this anywhere.
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.