G
Guest
I have the following code on a command button in a form:
DoCmd.SelectObject acReport, "rptName", True
DoCmd.PrintOut , acPrintAll, , , Me.Copies, 0
It prints out the report as many times as the number in the text field
"copies". This works great, thanks again to those who helped me with that
one! However, when it does this, it opens the database window. What can I
use to prevent this or turn the database window back off again when done
printing. I tried changing the "true" to "false" but then nothing prints at
all.
Thanks for you help!
at
DoCmd.SelectObject acReport, "rptName", True
DoCmd.PrintOut , acPrintAll, , , Me.Copies, 0
It prints out the report as many times as the number in the text field
"copies". This works great, thanks again to those who helped me with that
one! However, when it does this, it opens the database window. What can I
use to prevent this or turn the database window back off again when done
printing. I tried changing the "true" to "false" but then nothing prints at
all.
Thanks for you help!
at