Run time error 91

N

nick

First time I've seen this one. I read the help file on it and I think I have
my bases covered.

Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim qry As String

.....

qry = "SELECT *" & _
" FROM Employees"

Set rst = db.OpenRecordset(qry)


The "Set" statement throws the error. SHould I be doing something else?
 

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

Top