Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save a database in 2000 format

Status
Not open for further replies.

meljunk

Programmer
Sep 11, 2012
7
0
0
IE
Hi all, currently I have to open my database and Save As 2000 format, can I automate this?
 
hi,

What kind of database?

If it's MS Access then maybe posting in forum705 would be a better choice.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Yes sorry, it's an Access Database. Will try that, thanks.
 
Sorted
Code:
    'Create in 2002/2003 format
    Set db = CreateDatabase(CopyDatabase, dbLangGeneral, dbVersion40)
    db.Close
    Set db = Nothing
    
    'Converts to 2000 format
    Application.ConvertAccessProject CopyDatabase, new_database, acFileFormatAccess2000
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top