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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print and close report on open

Status
Not open for further replies.

TommyF

Technical User
Oct 28, 2001
104
I have a report that formats the page and margins when it is opend in preview mode with some code. What I can't seem to do is once the design opens and sets the margins is print the report and close it again. The report has to open in preview mode for the formating to work.

I have tried docmd.open form etc and docmd.printout and I just keep getting the message "This action can not be carried out while proccesing a form or report event"

any ideas.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top