Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Preview Won't Stay Open

Status
Not open for further replies.

RH610

Programmer
Aug 7, 2001
152
US
I open a report in my VBA code via the line below.

DoCmd.OpenReport "TestReport", acViewPreview

I want the user to be able to change printers, etc. and print the report, then close the preview windows and return to code.

I see the report open - for a second - and then it goes right back to the code following the open report line. How can I get the preview windows to remain open?

Thank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top