Sign in Join
FPDoc Onlineexperiment

TDataSet.FindFirst function

Member of TDataSetpublicIn unit DB

Find the first active record (deprecated).

Declaration

pascal
function FindFirst: Boolean; virtual

Function result

True if the cursor position was changed.

Description

FindFirst positions the cursor on the first record (taking into account filtering), and returns True if the cursor position was changed. This method must be implemented by descendents of TDataset: The implementation in TDataset always returns False, indicating that the position was not changed.

This method is deprecated, use First instead.

See also

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