How to programmatically convert multiple Access databases in Access 2002 (304318)
The information in this article applies to:
This article was previously published under Q304318 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
This article shows you two methods that you can use to programmatically convert Microsoft Access databases. The first method uses the ConvertAccessProject method to convert databases to the format that you specify. The second method uses the Shell function to run Msaccess.exe with the /convert switch. This second method is embedded in a comment block in the sample code. When you use the second method, the databases will be converted to Access 2000 file format regardless of the Default File Format that is specified in the Options dialog box on the Tools menu.
REFERENCESFor more information about the ConvertAccessProject method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type convertaccessproject in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For additional information about database conversion, click the following article number to view the article in the Microsoft Knowledge Base:
319400
Conversion white paper is available in the download center
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbconversion kbdta kbhowto KB304318 |
---|
|