Sample code to import all database objects in Access 97 (298176)
The information in this article applies to:
This article was previously published under Q298176 Moderate: Requires basic macro, coding, and interoperability
skills.
For a Microsoft Access 2000 or later version of this
article, see
298174. SUMMARY This article describes how you to use Data Access Objects
(DAO) to import all objects from one Microsoft Access database into the current
Access database. In some situations, this code can be used to recover database
objects from a corrupted or damaged database that can be opened but cannot be
compacted successfully. This code does not import the following elements:
- References
- Import/Export specifications
- Security information (user and group
permissions)
The Current User (usually the Administrator) becomes the owner
of all imported objects.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbImport kbProgramming kbhowto kbinfo KB298176 |
---|
|