Since it can't save a different version to itself, it is not really possible to do it from the database you are in. There are number of ways to work around it, most common is to simply create a 2000 copy that you then run code from your 2007 to do all the necessary data updates to the tables in the 2000 version. Microsoft doesn't want to make any of this easy, they want you to upgrade.
OK, instead I'm creating a database in 2000 format and exporting the required tables. However when I create the database using:
Code:
Set db = CreateDatabase(new_database, dbLangGeneral, dbVersion40)
It creates it in 2002/2003 format
I have also tried forcing the Default Format to 2000 using
Code:
Set accapp = New Access.Application
PrevSetting = accapp.GetOption("Default File Format")
accapp.SetOption "Default File Format", 9 ' set default format to 2000
accapp.OpenCurrentDatabase new_database
accapp.CloseCurrentDatabase
accapp.SetOption "Default File Format", PrevSetting ' reset it to current format
Set accapp = Nothing
But still database is 2002/2003 format. I need it in 2000 format.
Set db = CreateDatabase(CopyDatabase, dbLangGeneral, dbVersion40)
db.Close
Set db = Nothing
Application.ConvertAccessProject CopyDatabase, new_database, acFileFormatAccess2000
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.