IBX.IBCustomDataSet.TIBCustomDataSet.GetRecordCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetRecordCount: Integer; override;

C++

virtual int __fastcall GetRecordCount();

Properties

Type Visibility Source Unit Parent
function protected
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBCustomDataSet

Description

Returns the total number of records in the dataset.

GetRecordCount is the read access function for the RecordCount property inherited from Data.DB.TDataSet.RecordCount.

GetRecordCount is inherited by some Query-type datasets, like TIBQuery. For Query-type datasets, the GetRecordCount returns 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.

See Also