|
-
Nov 4th, 1999, 07:56 AM
#1
Thread Starter
Junior Member
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?
-
Nov 4th, 1999, 09:18 AM
#2
Guru
What version of DAO are you using? Version of MS Access? did you try removing the dbLangGeneral Parameter?
-
Nov 4th, 1999, 11:30 PM
#3
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|