[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


Current record number


Source position: db.pas line 1736

public property TDataSet.RecNo : LongInt
  read GetRecNo
  write SetRecNo;


RecNo returns the current position in the dataset. It can be written to set the cursor to the indicated position. This property must be implemented by TDataset descendents, for TDataset the property always returns -1.

This property should not be used if exact positioning is required. it is inherently unreliable.

See also



Number of records in the dataset

Documentation generated on: May 14 2021