if search comes back with no results

G

Glenn

In the event procedure of the search button add the
following code at the end:

if Me.RecordsetClone.RecordCount = 0 then
MsgBox "There are no records matching criteria."
End If

Glenn.
 
J

jason

thanks for the answer but it doesnt seem to be working.
says something about recordset not being right or
something like that.
 

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