[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TFilterRecordEvent

Record filtering event handler prototype

Declaration

Source position: db.pas line 1391

type 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 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

TDataset.OnFilterRecord

  

Event triggered to filter records.


Documentation generated on: May 14 2021