Reported By: Friedrich Westermann Reported On: 10/14/2008 For: Version 2.02 Build 1
# 2823Using TEDBDataSet Locate Method with Delphi 2009 Causes There is a problem with the Locate-function in edbtable with D2009. If I do:
EDBmattable.locateNAMEME', tempname, [])
where tempname is a Unicodestring the Locate will fail.
I found the problem in TEDBValue.SetAsVariant there is no check for varUString
Comments and WorkaroundsThis issue would cause a conversion error message in the EDB engine. To work around this, just cast the UnicodeString to a WideString in the Locate call.
ResolutionFixed Problem on 10/16/2008 in version 2.02 build 2
Products AffectedElevateDB VCL Client-Server ElevateDB VCL Client-Server with Source ElevateDB VCL Standard ElevateDB VCL Standard with Source ElevateDB VCL Trial