James,
If you want the report to be on top of everything else, and for all further
processing to halt until you close the report, then:
DoCmd.OpenReport "ReportName", acViewPreview, , , acDialog
Watch the commas!!!!!
Otherwise
DoCmd.OpenReport "ReportName", acViewPreview
Me.Visible = False ' Optional, if you also wish to hide the form
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.