Data.DB.TDataSet.RecNo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RecNo: Integer read GetRecNo write SetRecNo;

C++

__property int RecNo = {read=GetRecNo, write=SetRecNo, nodefault};

Properties

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

Description

Indicates the active record number in the dataset.

As implemented in TDataSet, the value of RecNo is always -1. Usually, an application does not access the RecNo property at the TDataSet level. Instead, the application accesses a re-implemented RecNo property in descendant classes, such as TFDTable or TClientDataSet. RecNo defines a property for derived datasets that support record numbers.

See Also

Code Examples