Open GoogleCodeExporter opened 9 years ago
Thanks man Great Job...
Original comment by Nenukes...@gmail.com
on 28 Jul 2011 at 3:03
Hi, i have an issue usinf string functions like UPPER o TRIM with fields float
or int fields shows some extrange values, id tried to track the fail and found
at line 3898 in xquery.pas the value of n always is 2 but with string fields
the value is diferent, can you can help me to fix this issue?
Original comment by Nenukes...@gmail.com
on 28 Jul 2011 at 8:09
Please atatch here a demo to test the issue you are having. Have you tried to
cast first the values to string and then pass them to the string functions?
Original comment by fdue...@gmail.com
on 29 Jul 2011 at 2:51
Ok. I managed to resolve the problem. download updated_sources.rar, update the
units and recompile both packages.
TXQuery_update_full contains all sources updated and extra some files.
*Fixed: when using a Float or integer field with a string function like UPPER,
it returns strange values.
*Workarround: added LeftStr and RightStr lias functions for LEFT and RIGHT,
because this functions can't be used in the field list of a select clause, etc
can only be used in WHERE conditions.
*added some Alias functions as SubStr and MidStr.
*Small additions and fixes
All changes are marked with my alias 'fduenas'
Regards
Original comment by fdue...@gmail.com
on 29 Jul 2011 at 8:54
Attachments:
Original issue reported on code.google.com by
fdue...@gmail.com
on 12 Jul 2011 at 4:07Attachments: