Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MS Access 2003 - Opening a report without it printing

I used

Docmd.OpenReport "Report1"

from another form and it seems to just want to print the report without actually displaying it. I want to display the report, not print it

like image 865
Justin Avatar asked Jan 14 '10 14:01

Justin


1 Answers

Set the acView argument to acViewPreview:

docmd.OpenReport "Report1", acViewPreview

Access Help says you can use one of these AcView constants:

acViewDesign 
acViewNormal 
acViewPreview  

acViewNormal is the default and prints the report immediately.

like image 166
hawbsl Avatar answered Oct 09 '22 07:10

hawbsl