Sign in Join
FPDoc Onlineexperiment

TMemDataset.GetRecNo function

Member of TMemDatasetprotectedIn unit MemDs

Gets the value for the RecNo property.

Declaration

pascal
function GetRecNo: Integer; override

Function result

Value for the RecNo property.

Description

GetRecNo is an Integer function used to get the value for the RecNo property. GetRecNo is the read access specifier for the property. GetRecNo calls UpdateCursorPos to ensure the value in ActiveRecord is used in the property value. The return value can contain 0 when there are no records in the dataset, or when the State property contains dsInsert.

Use RecNo to read or write values in the property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.