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

PopUp Report prints, then crashes.

Status
Not open for further replies.

rssql

Programmer
Jul 22, 2002
87
US
My reports are set to Popup = Yes, Modal = no.
If i issue Docmd.OpenReport "MyReport", acViewPreview it displays fine. Then I can close it ok.
If I issue Docmd.OpenReport "MyReport", acViewNormal then it crashes Access.


After the crash, the event viewer has:
Faulting application msaccess.exe, version 10.0.2627.1, faulting module msaccess.exe, version 10.0.2627.1, fault address 0x00035c0b.


Tolerance and diversity, or in-tolerance and perversity.
You Decide.
 
If you try to print the preview, does it crash also?

Pampers [afro]
Keeping it simple can be complicated
 
The Access background window is not visible or active.
I only have the actual forms and reports visible.
This means there is no way to "right-click" to get any menu to select printing.

The app is compiled as an mde.

My work-around is to make a copy of the report and set the Popup to NO. I can then send this to printer with
Docmd.OpenReport "Myreport", acViewNormal



Tolerance and diversity, or in-tolerance and perversity.
You Decide.
 
What if you specify the window mode?

docmd.OpenReport "MyReport",acViewNormal,,,acHidden
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top