EPUB | CHM | PDF

TPSQLDataset.Properties.Filtered

Top Previous Next

Specifies whether filtering is active for a dataset.

Syntax:

property Filtered: Boolean;

Description:

Check Filtered to determine whether or not dataset filtering is in effect. If Filtered is True, then filtering is active. Otherwise Filtered is False. To apply filter conditions specified in the Filter property or the OnFilterRecord event handler, set Filtered to True.

When filtering is enabled, user edits to a record may mean that the record no longer meets a filter's test condition. The next time the record is retrieved from the dataset while the filter is in effect, the record may seem to disappear. If that happens, the next record that passes the filter condition becomes the current record.

See also: Filter property