leeonsoft / txquery

Automatically exported from code.google.com/p/txquery
Other
0 stars 0 forks source link

GUID Field Bug #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For Unicode versions of Delphi, ftGUID fields truncate data when the source 
field is a TGUID field. (Effectively a string field).

I've found a problem where for field types of ftGUID results will be 
incomplete. (Values are clipped).

A work around to the problem is to ensure that the source datasets have no 
TGUID fields. (Use TStringFields instead, or use CAST in queries) 

however the fix appears to be to search and replace all instances of

in [ftString, 

to

in [ftString, ftGUID, 

within the xquery.pas file

Which appears to resolve the issue as well. Can this be updated in the next 
release please?

Original issue reported on code.google.com by wsdah...@gmail.com on 1 Oct 2014 at 5:41

GoogleCodeExporter commented 9 years ago
OK - realised what I've done hasn't corrected the issue at all - it's caused 
other complications. Only work around I can find at present is to cast / make 
sure that the source database doesn't use GUID's.

Original comment by wsdah...@gmail.com on 7 Oct 2014 at 4:59