7.0 SVN MySQL calculated field content is returned as ??
Posted: 20.05.2011, 03:30
The following SQL statement executed on a MySQL 5.x table with TZQuery
the field value of the result set field "FClicked" always returns '??' instead of the date values (the query is executed properly and the records are returned properly).
This works with 6.6.6 stable, but not with the SVN version of 7.0 alpha.
Tried with
Fields[0].AsString
FieldByName('FClicked').AsString
FieldByName('FClicked').AsDateTime (gives exception of course, since '??' is not a valid date)
Tested on Win32 and Linux32 .
Code: Select all
SELECT DATE_FORMAT( CTime, '%Y/%m/%d' ) AS FClicked, count( * ) AS Cnt
FROM TableName
GROUP BY FClicked
ORDER BY FClicked
This works with 6.6.6 stable, but not with the SVN version of 7.0 alpha.
Tried with
Fields[0].AsString
FieldByName('FClicked').AsString
FieldByName('FClicked').AsDateTime (gives exception of course, since '??' is not a valid date)
Tested on Win32 and Linux32 .