Search found 3 matches
- 19.10.2012, 17:13
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] AnyZQuery.Locate not working
- Replies: 7
- Views: 2400
EgonHugeist, All working. Yes, this is my issue. I understood why VarType (VarArrayOf (['Text']) [0]) = varOleStr. VarArrayOf calls VarArrayCreate (... vtVariant). In FPC string assigned to the element of the array (array vtVariant), transforming function VarToWideStr (Module Variants procedure sysv...
- 16.10.2012, 17:32
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] AnyZQuery.Locate not working
- Replies: 7
- Views: 2400
I can not test your suggestion. I use the platform Windows. I was wrong. I do not quite understand how the type Variant. Locate works if KeyValues - string. But if KeyValues is an array, such as an array of one element ['Text'], then Locate not working. Debugging function DecodeVariant, I found ...
- 15.10.2012, 20:06
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] AnyZQuery.Locate not working
- Replies: 7
- Views: 2400
[patch_done] AnyZQuery.Locate not working
Does not work if Keyvalues - an array that contains the text of the Nationals. The problem is that it compares the text encodings. Maybe the problem is TZSoftVariantManager.Convert. These are: ... vtUnicodeString: Result.VString: = {$ IF [s] N [/s] DEF DELPHI12_UP} UTF8Encode {$ ENDIF} (Value.VUni...