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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get VB code to create v2003 db?

Status
Not open for further replies.
Jun 4, 2004
19
US
Hi all,

I'm working with a VB app, using DAO 3.6, that used to generate Access '97 databases using the following code:

Set dbsNew = wrkDefault.CreateDatabase(strLPAccessInv, dbLangGeneral, dbVersion30)

I was able to have it create databases in Access 2000 by changing "dbVersion30" to "dbVersion40", but how do I get it to generate a db in Access 2003? Do I change the code to something like "dbVersion50" or do I need to re-write the code in ADO or is there some other issue I'm not aware of? The new databases consist of tables with data only, nothing else.

Thanks.


Robin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top