Data.DB.TDataSet.GetRecordCount
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TDataSet |
Delphi
function GetRecordCount: Integer; virtual;
C++
virtual int __fastcall GetRecordCount();
Description
Returns the total number of records in the dataset.
GetRecordCount is the read access function for the RecordCount property.
GetRecordCount is inherited by some Query-type datasets, like TIBQuery. For Query-type datasets, the GetRecordCount contains the total number of records that have currently been fetched. To get GetRecordCount to report the total number of records in a Query-type dataset, call the Last method first.