Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Records in Recordset ?

Status
Not open for further replies.

101287

MIS
Apr 8, 2006
189
US
How can I determine the numbers of records in a recordset? Need to know after I execute a filter command in a form if there are any records. Meaning the form will be displaying a blank form.

Would like to know record count in order to display message "no records".

Guidance will be greatly appreciated.

Luis
 
You can use Recordset or RecordsetClone:

Me.Recordset.RecordCount=0
Me.RecordsetClone.RecordCount=0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top