Counting records returned on subform

S

Silvester

I do a search on my A2000 mdb and return the results on a subform.

Is there any way to count the number of records returned by the subform when
it loads and display it on a messagebox saying "x matching records found"
just after the subform displays ?

Thanks for any help.
 
S

Silvester

Thank you. That worked perfectly. I just added an
Exithere:
set rst = nothing
to the error handling.
 
Top