Skip to content

TFilterRecordEvent

Record filtering event handler prototype.

Declaration

Source position: db.pas line 1613

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

Arguments

Name Description
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 TDataset.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

Name Description
TDataset.OnFilterRecord Event triggered to filter records.