Show: Delphi C++
Display Preferences

Data.DB.TDataSet.SetRecNo

From XE2 API Documentation
Jump to: navigation, search

Delphi

procedure SetRecNo(Value: Integer); virtual;

C++

virtual void __fastcall SetRecNo(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Sets the active record in the dataset.

Use SetRecNo to set the active record in the dataset. Datasets like TBDEDataSet, TADOTable, TADODataSet, and TADOQuery inherit SetRecNo and override it according to their need.

GetRecNo is a setter method for the Data.DB.TDataSet.RecNo property.

The Value parameter is the number of the record to set as active.

See Also

Personal tools
Previous Versions
Translations