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

Printing data report causes app to crash

Status
Not open for further replies.

cyoung

Programmer
Oct 31, 2001
188
US
I have setup an application that prints a batch report of transactions to a warehouse receiving database. I have used the data report designer to create this report, and I am using an ADODB recordset for the reports data.

The report previews when using Me.Show, and I can print from the preview with no problems, but when I set the report to print by using Me.PrintReport, the application crashes and the error given is "This application has performed an illegal operation and will be shut down". The OS is Win98SE, I am using VB6 Enterprise, with SP5 installed.

Has anyone seen this before, and is there a solution.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top