Print hidden report

  • Thread starter Thread starter Adrian Brown
  • Start date Start date
A

Adrian Brown

Hi,
I open a report using the following

DoCmd.OpenReport "rptLabel", acPreview, , , acHidden

As i want to change lots of the .Printer options, such as Margins etc.
The problem ive got is when i want to print the report. The only way i can
find to do it is to then do

DoCmd.OpenReport "rptLabel", acViewNormal, , , acHidden

But this, even though Hidden is set, still shows the report first. Does
anyone know how to print a hidden report.

Adrian
 
Just to keep things tidy - its messy to see a screen pop up for around
1/60th of a second.
 
I found the same problem in my A2002 set-up on Citrix so I used acIcon
instead of acHidden.
 
Back
Top