Open database from Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a module where I open an access97 database and it works fine. I’m
using the following code:

Dim DB As DAO.Database, RS As DAO.Recordset, strSQL As String
Set DB = DBEngine(0).OpenDatabase("C:\db1.mde", False, False)

At the moment I covert this database to access2002 and this code doesn’t
work. What’s happened?
Please I need help
José
 
Back
Top