Opening Reports

  • Thread starter Thread starter James
  • Start date Start date
J

James

Hello I have tried this:

DoCmd.OpenReport "RptSelectDept", acViewPreview, , acDialog

And it wont work how can I get it to open as a dialog
or "pop up"?

Many Thanks

James
 
James,

You're missing a comma.
In the OpenReport method, acDialog is the 4th argument, not the 3rd after
the Report Name.


DoCmd.OpenReport "RptSelectDept", acViewPreview, , , acDialog

You are using Access 2000 or later, aren't you?
 
Back
Top