Show: Delphi
C++
Display Preferences
Data.DB.TDataSet.RecNo
From XE2 API Documentation
Delphi
property RecNo: Integer read GetRecNo write SetRecNo;
C++
__property int RecNo = {read=GetRecNo, write=SetRecNo, nodefault};
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Indicates the active record in the dataset.
As implemented in TDataSet, the value of RecNo is always -1. Ordinarily an application does not access RecNo at the TDataSet level. Instead a re-implemented RecNo property in a descendant class such as TTable TClientDataSet is accessed. RecNo provides a fallback property for derived datasets that do not support record numbers.
See Also
Code Examples