Sign in Join
FPDoc Onlineexperiment

TSQLQuery.OnFilterRecord property

Member of TSQLQuerypublishedIn unit SQLDB

Event triggered to filter records.

Declaration

pascal
property OnFilterRecord:;

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.

This description is the one of DB.TDataSet.OnFilterRecord.

See also

  • Filter
  • Filtered
  • state

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