Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Locate in D2009
Tue, Oct 14 2008 11:51 AMPermanent Link

"Friedrich Westermann"
Hello Tim,

there is a problem with the Locate-function in edbtable with D2009
if i do EDBmattable.locate('NAME', tempname, []) where tempname is a
Unicodestring the Locate will fail.

i found the problem in TEDBValue.SetAsVariant
there is no check for varUString

Fritz
Tue, Oct 14 2008 12:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Friedrich,

<< there is a problem with the Locate-function in edbtable with D2009 if i
do EDBmattable.locate('NAME', tempname, []) where tempname is a
Unicodestring the Locate will fail.

i found the problem in TEDBValue.SetAsVariant there is no check for
varUString  >>

Okay, I will check this out.  We indeed do not have a specific check for the
varUString variant values in there, just the varString and varOleStr value
types.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Oct 14 2008 12:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Friedrich,

BTW, you should be able to work around this by casting the UnicodeString to
a WideString in the Locate call.  Just until we get it fixed.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image