tDBF Filter statements no longer work in 1.4
Original Reporter info from Mantis: bill0287
-
Reporter name: Bill
Original Reporter info from Mantis: bill0287
- Reporter name: Bill
Description:
I have apps that were working fine in 1.2.6 and after installing 1.4, some functionality no longer works. In one example, tdBF filter statements that used to work now do not. For example:
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;
Steps to reproduce:
See attached project.
- Compile and run the program
- Select a field from the drop down list.
- Select a field value from the drop down list
- Press filter button.
Expected Behavior: The table will filter to one row (works under 1.2.6)
Current Behavior: The table will not filter.
Additional information:
http://forum.lazarus.freepascal.org/index.php/topic,28144.0.html
Mantis conversion info:
- Mantis ID: 27959
- OS: 64-bit
- OS Build: 8.1
- Build: 1.4
- Platform: Windows
- Version: 2.3 (SVN)
- Fixed in revision: 50763 (#f1f2b982)