-
I use the following code to create a new Access database.
Dim db As DAO.Database
Set db = DBEngine.CreateDatabase ("C:\New.mdb", dbLangGeneral)
That creates the database, however, when I go to Access and try to open it, I get an error saying 'Unrecognized database format 'C:\New.mdb'.
Anyone have any clue what might be going on?
-
What version of DAO are you using? Version of MS Access? did you try removing the dbLangGeneral Parameter?
-
A database must contain tables before you can open it. Did you create tabledefs, fields, etc. and append them to the database object? Lots of code in the MSDN to show you how.