CPuchalski
Registered User.
- Local time
- Today, 05:12
- Joined
- Mar 24, 2010
- Messages
- 10
I am trying to print the first page of a report using the following VBA:
DoCmd.SelectObject acReport, "rptMyReport", True
DoCmd.PrintOut acPages, 1, 1, , 2
The issue I have is that the first copy always comes out as a blank page. Setting the number of copies to 1 gives me only a single blank page. If I set the number of copies to 2, I get 1 blank page and one copy of the report. If I set the number of copies to 3, I get 1 blank page and 2 copies of the report.
I have looked through everything I can identify in the report that may be causing this and I am stumped.
DoCmd.SelectObject acReport, "rptMyReport", True
DoCmd.PrintOut acPages, 1, 1, , 2
The issue I have is that the first copy always comes out as a blank page. Setting the number of copies to 1 gives me only a single blank page. If I set the number of copies to 2, I get 1 blank page and one copy of the report. If I set the number of copies to 3, I get 1 blank page and 2 copies of the report.
I have looked through everything I can identify in the report that may be causing this and I am stumped.