I've written a program which uses the following code to open a database -
When I pass the name of an Access database created using Access97 - the Open works correctly, but if I pass the name of a database created using Access2000, it returns an error saying that the database format is unrecognised.Code:#include "afxdao.h" ... CDaoDatabase daoDb; daoDb.Open( strFullDBName );
I have both Access97 and Access2000 installed on my PC, and my Jet Driver version is 4.0......
I need to be able to open Access2000 db's, and don't need to open Access97 db's. Can anyone tell me how to get this working?
Thanks.