8

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

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Justin
  • 4,461
  • 22
  • 87
  • 152

1 Answers1

16

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.

hawbsl
  • 15,313
  • 25
  • 73
  • 114