Changing the total number of pages (1 Viewer)

Dinger_80

Registered User.
Local time
Yesterday, 23:22
Joined
Feb 28, 2013
Messages
109
I have a report I want to generate in Access 2010. I have a text box with the following:
Code:
="Page " & [Page] & " of " & ([Pages]+[Forms]![ReportForm]![PageCount])

What I am attempting to do is increase the maximum number for the total number of pages in the report. As it reads right now when I go into print preview it looks like

"Page 1 of " That is all. It doesn't seem to calculate the new total number of pages. Yes the report form is open, and yes there is value in the PageCount in the Report Form.I had this working in another database, but this one isn't being as nice. The reason for adding to the total page count is because additional pages will be added to the report that aren't in the database. Any advice on how to increase the total number of pages in the report would be appreciated or why this isn't working. Thank you.
 

Dinger_80

Registered User.
Local time
Yesterday, 23:22
Joined
Feb 28, 2013
Messages
109
Figured it out. Looked at an older system and something just clicked and sure enough I found something that works. Here is what I put into my text box to adjust the max pages.

Code:
="Page " & [Page] & " of " & ([Pages])+([Forms]![ReportForm]![PageCount])
 

Users who are viewing this thread

Top Bottom