Icon View Incident Report

Minor Minor
Reported By: Jaako Salmenius
Reported On: 4/15/2009
For: Version 4.27 Build 5
# 2994 Locate Method Not Working with AnsiStrings that Do Not Use the System Code Page in Delphi 2009

TDataset.Locate did not work correctly when working with Delphi 2009 and fields that contain UTF-8 or Ansi strings having different code page as the system code page. The reason was that the code in dbisamtb.pas assings KeyValues to the Value property of a field. In this case the field is a TStringField and Delphi 2009 VCL is converting the Ansi string (UTF-8 or code page encodede) to UnicodeString. This causes the locate logic to compare the the values in the database to UnicodeString when it should compare to AnsiStrings.

Comments Comments
Thanks to Jaako for the appropriate code changes to the dbisamtb.pas unit.

Resolution Resolution
Fixed Problem on 6/2/2009 in version 4.28 build 1

Products Affected Products Affected
DBISAM VCL Client-Server
DBISAM VCL Client-Server with Source
DBISAM VCL Standard with Source