Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print 2 copies of a report with VBA

Status
Not open for further replies.

Polyphonica

Programmer
Mar 17, 2004
11
GB
Hi,

Is there a way that I can specify the amount of copies to print of a report from within Access? I need the user to just be able to click a button and then Access prints the report in duplicate.

I currently have the code:

DoCmd.OpenReport stdocname, acnormal
where stdocname is specified on the previous line.

Thanks in advance!

PS: I don't mind if it doesn't involve VBA, as long as it works!
 
Simplest way?:
Code:
For i=1 to 3
DoCmd.OpenReport stdocname, acnormal
where stdocname is specified on the previous line.
Next i

;-)

Andreas Galambos
EDP / Technical Support Specialist
(andreas.galambos@bowneglobal.de)
HP:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top