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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Total Records and Filtered Records

Status
Not open for further replies.

shwin

Programmer
Jun 10, 2004
15
US
Hi All!

I have a form which has a filter by form feature. The navigational bar at the botton of the form does display how many records I have and also how many records have been filtered, but I would like to display this number on the top of the form. In other words, I would like to record how many records were filtered out and how many records exist total. I think there should be an easy way to do this but I can't get it to work. Any help would be appreciated!

Thanks guys!
 
Take a look at the Recordset.RecordCount property and at the DCount function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top