The resulting field does not parse right.

If I execute or open the following SQL statement

SELECT SUM(LENGTH(ITMDAT)) as TesT FROM scms_ufls WHERE ITMUID=2 AND ITMKND=1

the FieldDef come back with FieldDefs count =1
The name looks good.

But if I try to access Query.Fields[0] or so, it does not exist.  1
field was supposed to be added when I build a query to
sum(datalength(FIELD_NAME)) or even using the as LOCAL_FIELD_NAME
should be respected to.

Thanks

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to