Karlos Garcia
Karlos Garcia

Reputation: 174

Is it possible to convert a Database Access 97 to Access 2003 using VB6?

I have a project in VB6 with a DB Access 97.

I need to convert the format to Access 2003 or newer.

Is this possible using VB6 code?

Upvotes: 1

Views: 773

Answers (1)

Gustav
Gustav

Reputation: 55831

Using DAO in VB6, create a new database in JET 4.0 format:

DBEngine.CreateDatabase "c:\test\db4.mdb", dbLangGeneral, dbVersion40 

Then copy all objects from the old database to the new database.

More info here.

Upvotes: 2

Related Questions