TAstaDataset.OnFilterRecord
Applies to
TAstaDataset
Declaration
type TNotifyEvent = procedure(Sender:
TObject) of object;
Description
Write an OnFilterRecord event to make a subset of the AstaDataSet records available to the application
-- use with the Filtered property. You can also use the Filter
property.
procedure
TForm1.AstaDataSet1FilterRecord(DataSet: TDataSet;
var
Accept: Boolean);
begin
Accept
:= DataSet.FieldByName('Age').AsInteger = 25;
end;