ACC2002: Microsoft Access Quits If You Set the ADO Recordset Property Twice in the OnOpen Event of a Report (295191)
The information in this article applies to:
This article was previously published under Q295191 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
Microsoft Access allows you to set the Recordset property of a report to an ActiveX Data Objects (ADO) recordset. However if you set the Recordset property twice in the OnOpen event of a report that uses an ADO recordset, you receive the following error message when you close the application, and then Microsoft Access quits:
Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.
RESOLUTION
To resolve the issue, set the Recordset property only once in the OnOpen event of the report.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/26/2003 |
---|
Keywords: | kbbug kberrmsg kbnofix KB295191 |
---|
|