I've been tearing hair out over this one the past few days. I have created a report that uses an SQL Pass-Through Query to a MySQL backend database as its recordsource. If I run the query as it is (simply double-click on it), it returns the records from MySQL as expected in a datasheet view. If I click on the report which now uses the query as its recordsource the access database prompts me with the notification "Microsoft Office Access has encountered a problem and needs to close. We are sorry for the inconvenience." along with an option to send an error report to Microsoft and repair the open database. Once this is done it shuts down access entirely.
This now occurs if I attempt to copy the report or access it in design mode as well.
At one point I had the report working ok but via a different approach. I would setup the query string based upon settings on a form set by the user. I would then set the QueryDef of the query to that of the query string as well as set the connection string to be used to connect to the backend MySQL database. Once these were set i would then preview the report. Again this had worked a few weeks ago in the same frontend database but now it too causes the application to crash.
Has anyone any experience with viewing reports in access that query records in a MySQL database or via ADO? I would appreciate any input on this. Thanks!
This now occurs if I attempt to copy the report or access it in design mode as well.
At one point I had the report working ok but via a different approach. I would setup the query string based upon settings on a form set by the user. I would then set the QueryDef of the query to that of the query string as well as set the connection string to be used to connect to the backend MySQL database. Once these were set i would then preview the report. Again this had worked a few weeks ago in the same frontend database but now it too causes the application to crash.
Has anyone any experience with viewing reports in access that query records in a MySQL database or via ADO? I would appreciate any input on this. Thanks!