This tDbf filter statement does not seem to be working in my app anymore. I use a combobox to choose a field from the dbf, then use a dblookupcombox to display the values of that field, and then use those two items to feed the filter statement. It used to work, now it doesn't. Can you see anything wrong here?
Neither one of the filter statements show below are working in Laz1.4, but worked/work fine in 1.2.6.
Can anyone test in 1.4 and see if it works for them?
procedure TForm1.Button1Click(Sender: TObject);
begin
with dbf1 do begin
// Filter := ComboBox1.Text + '=' + QuotedSTR(DBLookupComboBox1.Text);
Filter := ComboBox1.Text + '=' + AnsiQuotedSTR(DBLookupComboBox1.Text,'"');
Filtered := True;
end
end;
Attached is a simple project showing this.