E
eschloss
Access 2003 / WinXP
Please enlighten me...
I have a button on a form that prints out a report. What I would like to do
is print out multiple copies of this report without generating the report
multiple times. I would also prefer to not see the report onscreen.
I have used the following code behind the button, but they each do at least
one of the above. Me!Print_Text is simply a text box that contains the
number of copies I want.
DoCmd.OpenReport stDocName, acViewPreview
DoCmd.PrintOut , , , , Me!Print_Text
AND
DoCmd.SelectObject acReport, stDocName, True
DoCmd.PrintOut , , , , Me!Print_Text
Please enlighten me...
I have a button on a form that prints out a report. What I would like to do
is print out multiple copies of this report without generating the report
multiple times. I would also prefer to not see the report onscreen.
I have used the following code behind the button, but they each do at least
one of the above. Me!Print_Text is simply a text box that contains the
number of copies I want.
DoCmd.OpenReport stDocName, acViewPreview
DoCmd.PrintOut , , , , Me!Print_Text
AND
DoCmd.SelectObject acReport, stDocName, True
DoCmd.PrintOut , , , , Me!Print_Text