Re: table filter


Posted by Roland on May 13, 2000 at 11:56:34:

In Reply to: table filter posted by carlo on May 11, 2000 at 02:02:50:

Hi,
I think what you need to use is the OnFilterRecord event of your table component.
This event is executed when you set the Filtered property of your table component to True.

Table1.Filtered := True

The event looks like this :

procedure TForm1.Table1FilterRecord(DataSet: TDataSet;
var Accept: Boolean);
begin
Accept := Table1.FieldByName('NAME').AsString='KEES';
end;

Shows all the records KEES

Or use your vat.

Hopes this helps



Related Articles and Replies: