ACC2000: Properties of the DataAccessPages Object May Return Error Message (223205)
The information in this article applies to:
This article was previously published under Q223205 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you use a property of the DataAccessPages object, you may get one of the following error messages:
Run-time error '2018':
The data access page name 'page name' you entered is misspelled or refers to a data access page that isn't open or doesn't exist.
Run-time error '2019':
The number you used to refer to the data access page is invalid.
CAUSE
You get one of these error messages when you try to use a property of the DataAccessPages object and the data access page is open in Microsoft Internet Explorer. The DataAccessPages object is looking for pages that are open in Microsoft Access. Because the page is open in Internet Explorer, and not in Access, the DataAccessPages object does not recognize it as being open.
NOTE: When you click the Web Page Preview command on the File menu, the page does not open in Access. It opens in Internet Explorer.
RESOLUTION
To use one of these properties, you must have the page open in Design view or Page view in Access.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbDAP kberrmsg kbprb KB223205 |
---|
|