Page numbers on a Report

B

brimil

Is it possible to run a loop on a report so it prints the same report a specified number of times....also when it does this is there a way to put the page numbers on the report so it appears as "1 of 3" and the next page "2 of 3" etc......
 
N

Nikos Yannacopoulos

First Question:
If you print manually: don't use the Print button on the toolbar, go from
the menu. The Print window that opens lets you specify the number of copies.
If you print from a macro: type the number of copies you want in the Copies
argument of the PrintOut action.
If you print from a module: again, one of the arguments of the PrintOut
method is number of copies, e.g. 5 below:
DoCmd.PrintOut acPrintAll, , , acHigh, 5, False

Second question:
Access puts that in the page footer of a report by default, if you use the
report wizard to make it. If not, in the report footer create a text box and
in the control source property put:
="Page " & [Page] & " of " & [Pages]

HTH,
Nikos

brimil said:
Is it possible to run a loop on a report so it prints the same report a
specified number of times....also when it does this is there a way to put
the page numbers on the report so it appears as "1 of 3" and the next page
"2 of 3" etc......
 
N

Nikos Yannacopoulos

First Question:
If you print manually: don't use the Print button on the toolbar, go from
the menu. The Print window that opens lets you specify the number of copies.
If you print from a macro: type the number of copies you want in the Copies
argument of the PrintOut action.
If you print from a module: again, one of the arguments of the PrintOut
method is number of copies, e.g. 5 below:
DoCmd.PrintOut acPrintAll, , , acHigh, 5, False

Second question:
Access puts that in the page footer of a report by default, if you use the
report wizard to make it. If not, in the report footer create a text box and
in the control source property put:
="Page " & [Page] & " of " & [Pages]

HTH,
Nikos

brimil said:
Is it possible to run a loop on a report so it prints the same report a
specified number of times....also when it does this is there a way to put
the page numbers on the report so it appears as "1 of 3" and the next page
"2 of 3" etc......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top