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!
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!