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

Record Count

Status
Not open for further replies.

heydyrtt

Programmer
Dec 12, 2001
63
US
I need the number of records in a grid to be displayed, like total records found = ??, to be displayed on my form. I know how to get the count of all the records in the dataset. What I'm doing after the date is filtered the grid is only going to show the data within the date filter, which will be different than the total record count. I just want to know the number of records that are in the grid to be displayed.

Thanks in advance

Louie
 
Hi

Have you tried

Label1->Caption=IntToStr(Table1->RecordCount)+" Results";

It should reflect the number of filtered records. It worked for me , using BDE v5.2 and Paradox tables.

Happy Holidays!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top