this lineOriginally posted by MrGTI
I tried yours peet, and when i try to open the newly created .MDB file in Access i get an error - Unrecognized database format
Any ideas why? I have Access 97, but that shouldn't be a problem.
generates an Access2000 db, not possible to open in Acc97 I think. (Microsoft.Jet.OLEDB.4.0 = acc2k)VB Code:
cat.Create "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\newDB.mdb"
not sure if this will work, but try
(Microsoft.Jet.OLEDB.3.5 = acc97 well I hopeVB Code:
cat.Create "Provider=Microsoft.Jet.OLEDB.3.5;Data Source=c:\newDB.mdb")




)
Reply With Quote