I
ianc via AccessMonster.com
I have a problem printing reports in Access when the printing process is
performed in a loop.
The VBA code selects all the reports
(about 25 reports each with one page)into an array and then loops through
the list assigning data/tables to the report, then printing and then
closing the report (all on sequential lines of VBA). However the print
preview of each report (which shows Headers and Detail) does not always
match the actual printed report (which spiradically only shows the Detail
section). What is really frustrating is that the loop can be run several
times with different printing results i.e. some reports print as per the
preview while others dont (missing headers); And, its not always the same
report. I've found if I add a pause of about 50 secs between each report is
usually fixes the problem however this obviously means the printing process
takes alot longer!)
I'm cant figure out whether this is an Access problem or a printer problem.
Has anyone else experienced this problem?
Thanks,
performed in a loop.
The VBA code selects all the reports
(about 25 reports each with one page)into an array and then loops through
the list assigning data/tables to the report, then printing and then
closing the report (all on sequential lines of VBA). However the print
preview of each report (which shows Headers and Detail) does not always
match the actual printed report (which spiradically only shows the Detail
section). What is really frustrating is that the loop can be run several
times with different printing results i.e. some reports print as per the
preview while others dont (missing headers); And, its not always the same
report. I've found if I add a pause of about 50 secs between each report is
usually fixes the problem however this obviously means the printing process
takes alot longer!)
I'm cant figure out whether this is an Access problem or a printer problem.
Has anyone else experienced this problem?
Thanks,