TotalPageCount for each Group

CR XI R2

I would like to print a Page N/M on the footer of my report.
The N and the M need to be reseted for each group.
For the N, i can write a formula, but for the M, i have no idea how to do it.
TotalPagecount will not work, it is not reseted and doesn’t print the total page number of each group.


tiberghv (BOB member since 2009-02-04)

I would try adding the PageNofM formula to your existing report.

I would then build a new report with the same grouping structure as the existing report (except the most inner group) and add the existing report as a sub-report, suppressing all sections of the new report except detail.

I think this will then reset the page counts because each group on the new report will call a separate instance of the sub-report.

Havn’t tried it tho.

Obiron


obiron (BOB member since 2008-01-10)

i think it might work indeed, i will try it. thank you for your help, much appreciated.


tiberghv (BOB member since 2009-02-04)

much more easier:
in the section expert : on the last detail of the group, tick the box “reset page number after”


tiberghv (BOB member since 2009-02-04)