Sign in Join
FPDoc Onlineexperiment

TDataSet.OnFilterRecord property

Member of TDataSetpublicIn unit DB

Event triggered to filter records.

Declaration

pascal
property OnFilterRecord: TFilterRecordEvent read FOnFilterRecord write SetOnFilterRecord;

Description

OnFilterRecord can be used to provide event-based filtering for datasets that support it. This event is only triggered when the Filtered property is set to True. The event handler should set the Accept parameter to True if the current record should be accepted, or to False if it should be rejected. No methods that change the state of the dataset may be used during this event, and calculated fields or lookup field values are not yet available.

See also

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