Filter Problem in TgsDBFTable

Posted by Stephan St-Denis on  2004-02-06 14:00:00

I recently encountered a problem in TgsDBFTable. When the table is filtered and I call Find(), it won't return the correct record. This problem is not seen in THalcyonDataSet.


status: CLOSED    Urgency: MEDIUM    As Of: 2004-02-06 14:00:00

Comment:

You will need to replace the gsTestFilter method in gs6_dbsy.pas with the following:

function GSO_dBHandler.gsTestFilter: boolean;
begin
   if FFilterOn then
      Result := FFilterSet.BitValue(RecNumber)
   else
      Result := true;
end;

This should fix the filter problem.