Data.DB.TDataLink.RecordCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RecordCount: Integer read GetRecordCount;

C++

__property int RecordCount = {read=GetRecordCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TDataLink

Description

Indicates the number of records in the internal record buffer maintained by the dataset.

Read RecordCount to determine the number of actual records in the buffer maintained by the dataset for the Owner of this TDataLink.

In most cases, RecordCount is the same as BufferCount. RecordCount indicates the number of records actually in the record buffer of the dataset, as opposed to the number of records that the dataset can possibly maintain. For example, a data-aware grid with four rows could have one record actually showing data. In this case, BufferCount would be 4, while RecordCount would be 1.

See Also