if table1.RecordCount = 0 then ....
procedure TForm1.Table1FilterRecord(DataSet: TDataSet; var Accept: Boolean);begin Accept := pos(Edit1.text, DataSet[COMBOBOX1.Text])<>0;end;procedure TForm1.Edit1Change(Sender: TObject);begin table1.Filtered:=true;end;