Page 1 of 1

Page numbering problem in segmented reports

Posted: Wed Jan 16, 2008 6:59 pm
by garethm
Hi

When printing a segmented report the page numbering is not correct. Using the demo Page segments / Two Segments on Width as an example, the footer of page 2 contains "Page 1 of 6", page 4 has "Page 3 of 6", and page 6 (which is the last page) has "Page 5 of 6".

I would prefer it if {PageNofM} displayed the page it was on (ie. "Page 2 of 6", "Page 4 of 6", "Page 6 of 6" in this example). Another logical approach would be to divide the number of pages by the number of segments (ie. "Page 1 of 3", "Page 2 of 3", "Page 3 of 3" in this example).

I am using Stimulsoft Reports.Net Version 2008.1.129 from 14 January 2008 with .Net Framework v 2.0.50727.

Page numbering problem in segmented reports

Posted: Thu Jan 17, 2008 12:42 am
by Edward
In that case please set the Page numbering as follows:

For the odd page in template:
Page {PageNumber+1} from {TotalPageCount}

For the even page in template:
Page {PageNumber} from {TotalPageCount}

Unfortunately PageNofM can't process this automatically because of the limitation of the report engine.

Please see the report attached.

Thank you.