Using Delphi 10.4.1
I'm not having success filtering a TIBQuery, and I'm wondering where I'm going wrong. Hopefully you can point me in the right direction.
Using Interbase 2020, I'm creating these tables in IBConsole.
I have a TIBQuery with two fields:
LocID: integer;
PerName: string; //VarChar[35]
The TIBQuery.Filtered property is set to true.
At runtime, I do:
IBQuery1.Filter := 'LocID = ' + IntToStr(ALocID); // where ALocID is integer;
At this point, I would expect to see a filtered record set, but that's not what I'm getting. The entire unfiltered record set is returned.
What am I doing wrong?