Bde.DBTables.TBDEDataSet.SetRecNo

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

procedure SetRecNo(Value: Integer); override;

C++

virtual void __fastcall SetRecNo(int Value);

Description

Sets the active record in the dataset.

Bde.DBTables.TBDEDataSet.SetRecNo inherits from Data.DB.TDataSet.SetRecNo. All content below this line refers to Data.DB.TDataSet.SetRecNo.

Sets the active record in the dataset.

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

SetRecNo 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