RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.RecordCount Property

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

Pascal
property RecordCount: Integer;
C++
__property int RecordCount;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!