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é
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top