Question

I have a main report and a subreport in the main report. The main report is like a cover page so I need to start the page number on the subreport from 2 and end with number of pages in the subreport +1 (for the main report). i.e; if My subreport has 10 pages it should start with 2 of 11. I have googled and all the resources tell me how to start from page 1. Thanks for your time and help in advance.

Was it helpful?

Solution

It's simple,

= "Page " & Globals!PageNumber + 1 & " of " & Globals!TotalPages + 1

This will give you Page 2 of 11.

The fact remains the same that there are only 10 pages.

OTHER TIPS

I guess its fairly simple, In your textbox in page footer of your subreport where you are showing page number, use the following expression

= Globals!PageNumber + 1 & " of " & Globals!TotalPages + 1 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top