Print Count

M

Michael Kintner

How can I tell a report to print 5 copies?

VB Code Please....

Thank you in advance for any help... (smile)

Mike
 
F

fredg

How can I tell a report to print 5 copies?

VB Code Please....

Thank you in advance for any help... (smile)

Mike

From a command button on a form?

Code the command button click event:
DoCmd.SelectObject acReport, "rptName", True
DoCmd.PrintOut , , , ,5

If the report is already open in Preview mode, change True to False.

If you wish to have the user enter the number of copies each time,
then use an unbound control on the form.
Change the PrintOut to:
DoCmd.PrintOut, , , , Me!ControlName
 
Top