3 sekundy szukania na google...
Table1.Filtered:=False;
Table1.Filter:='Name='van der';
Table1.Filtered:=True;
A few tips.
If a query is run on the table it will only execute on the fields that is visible after the filter is executed. This if the filter is
Table1.Filter:='Name='van der';
then the query will only return results were the name were equal to 'van der'
You can insert a asteriks into a search
Table1.Filter:='Name='van der*';
which will find anything that starts simmarly
Remember to always make the filterd property true and when you are searching case independant set the filteroptions->caseinsensitive to true
You can do combination filters
Table1.Filter:='Name='Jan*' and Surname='%wa%';
or you can even do nested combinations
Table1.Filter:='(Name='van der*' and Surname='k*')or number=10';