adjusting a macro that retreives access data

  • Thread starter Thread starter Guest
  • Start date Start date
You can check the .RecordCount property of the returned recordset. For this
to give reliable results, you need a client-side cursor also. something like
this as far as I remember:

With MyDatabase
.CursorLocation = adUseClient
.Open MySQL, MyConnection, 0, 1, 1
MsgBox .RecordCount
End Sub

NickHK
 

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