<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Properties > RecCount |
Declaration
property RecCount: Integer;
Description
Read-only. Contains the physical number of records in the current table. This number includes deleted and filtered records.
If you wish to determine the number of records represented in a conditional index or query, use QueryRecCount. If the count must be absolutely accurate (respecting all filters, conditions, and deleted records), use Count.
Delphi Example
// Display record position / count info
Label1.Caption := IntToStr( ApTbl.RecNo ) + '/' + IntToStr( ApTbl.RecCount );
C+Builder Example
// Display record position / count info
Label1->Caption = IntToStr( ApTbl->RecNo ) + "/" + IntToStr( ApTbl->RecCount );
See Also