Click to See Complete Forum and Search --> : Access 2000 & VB 6
I'm trying to create a VB program to hit an Access 2000 database but whenever I try to select a recordset, I get an "invalid format" for the database file!! Is there a patch out there so that VB 6 can read Access 2K? Need help fast....
-Ozman
LG
Apr 24th, 2000, 08:53 AM
How are you connecting to Access?
If you are using code, than you have to set reference to Microsoft DAO 3.6 Object Lybrary.
Or you can use Microsoft ADO Data Control 6.0
Elias
Apr 25th, 2000, 10:18 AM
Before using patches, changing to DAO, etc. You might just need to check your connection string. I think you need to change Jet 3.51 to 4.0 when connecting to Access 2000. This worked for me. ( I am assuming you are using ADO 2.0 or 2.1, if not, try the others.)
-Elias
[Edited by Elias on 04-25-2000 at 11:21 PM]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.