Sign in Join
FPDoc Onlineexperiment

TFilterRecordEvent procedure type

In unit DB

Record filtering event handler prototype.

Declaration

pascal
TFilterRecordEvent = procedure(DataSet: TDataSet; var Accept: Boolean)
 of object

Arguments

DataSet

Dataset that triggered the event.

Accept

Set to indicate whether the current record should be shown or not.

Description

TFilterRecordEvent is the prototype for the OnFilterRecord event handler. The Dataset parameter indicates which dataset triggered the event, and the Accept parameter must be set to true if the current record should be shown, False should be used when the record should be hidden.

See also

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