TMemDataset.OnFilterRecord property
Event handler signalled to include or exclude records in the in-memory dataset.
Declaration
property OnFilterRecord:;Description
OnFilterRecord is a published TFilterRecordEvent property which provides the event handler signalled to include or exclude records in the in-memory dataset. OnFilterRecord provides a way for the application to decide whether a record is visible in the dataset on a record-by-record basis. Applications must assign a procedure to the event handler that performs any comparison needed to determine record visibility. The procedure must set the value in Accept to True to make the record visible in the in-memory dataset.
Set the Filtered property to True to enable the OnFilterRecord event handler during record navigation.
OnFilterRecord is used as an alternative filtering mechanism; TMemDataset does not implement the Filter property. Values assigned to the Filter property are silently discarded.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
