Hi all,
I need to filter a large database of the selected conditions.
ComboBox1 = choice of table columns (FiledByName)
ComboBox2 = selection operator (<> =)
Edit1 = search text
I get an error in this code:
Delphi-Quellcode:
DataSource1.DataSet.Filtered := False;
DataSource1.DataSet.Filter := QuotedStr(ComboBox1.Text)+ QuotedStr(ComboBox2.Text) + ' '+
QuotedStr(Edit1.text);
DataSource1.DataSet.Filtered := True;
I thank you all for your help.