Solved

Generate page numbers across multiple reports

Posted on 2009-05-18
3
284 Views
Last Modified: 2012-05-07
I have a set of reports that all get printed at once. I'd like to be able to print consecutive page number on the reports as if it were one big report. Any ideas?
0
Comment
Question by:myndwire
3 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24418868
Hi myndwire,

You can make an unbound master report with  all your reports as Subreports



Gary
0
 
LVL 2

Expert Comment

by:krishrr
ID: 24419268
In the page Footer Section of the report, create a text box and assign the following value in control source

="Page " & [Page] & " / " & [Pages]
0
 
LVL 57
ID: 24421235
There is nothing in Access to handle this.  You can do it, but you need to do all the work yourself using unbound text controls and a table or global variable to store the page count.  Here I'm going to use a global variable.
 In the page footers OnFormat event of each report, set the unbound text control do:
  Me![<myPageControlName>] = glngReportPageCount + 1

and in the page footer OnPrint event, do:
glngReportPageCount = glngReportPageCount  + 1
  Do that in each report.   If you want page # X of Y in each report, then that is quite a bit more complex.
JimD.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question