I use the following code to print two reports
DoCmd.OpenReport "Preliminary", acViewNormal
DoEvents
DoCmd.OpenReport "Daily", acViewNormal
The issue is I have as my default printer a shareware to print to pdf format. When printing the reports the first works fine, the box comes up for me to name the pdf file. On the second though it sends my print job to my local printer not the pdf creator.
I'm at a loss. Thanks for any help or suggestions.
DoCmd.OpenReport "Preliminary", acViewNormal
DoEvents
DoCmd.OpenReport "Daily", acViewNormal
The issue is I have as my default printer a shareware to print to pdf format. When printing the reports the first works fine, the box comes up for me to name the pdf file. On the second though it sends my print job to my local printer not the pdf creator.
I'm at a loss. Thanks for any help or suggestions.