ACC2000: "There Is No Object in This Control" Error Converting Access 2000 Database to Access 97 (202312)
The information in this article applies to:
This article was previously published under Q202312 For a Microsoft Access 2002 version of this article, see 286345.
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
After converting a Microsoft Access 2000 database to Microsoft Access 97, you receive the following error message when you open a form or report in the new Microsoft Access 97 database:
There is no object in this control.
CAUSE
The form or report contains one or more ActiveX controls. The error occurs because Microsoft Access 2000 uses the IPersistStream interface for inserting and storing ActiveX controls while Microsoft Access 97 uses the IPersistStorage interface.
RESOLUTION
In order for Microsoft Access 97 to recognize ActiveX controls inserted by Microsoft Access 2000, the ActiveX control must be inserted using the IPersistStorage interface. Microsoft Access 2000 uses the IPersistStorage interface if you create the ActiveX control by pasting it into the form or report. To resolve the problem, follow these steps:
- Start Microsoft Access 2000 and open your Microsoft Access 2000 database.
- Individually open each form or report that contains an ActiveX control.
- Individually select each ActiveX control on the form or report.
- On the Edit menu, click Cut.
- On the Edit menu, click Paste.
- After pasting all ActiveX controls, close and save each form and report.
- On the Tools menu, point to Database Utilities, point to Convert Database, and then click To Prior Access Database Version.
- Type a file name for the new Access 97 database, and then click Save.
- Start Microsoft Access 97.
- Open the Microsoft Access 97 database that you created in step 8.
- Open a form or report that contains an ActiveX control.
Note that you can open the form or report.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbbug kbpending KB202312 |
---|
|