Would anybody know why a sqldb query (TSQLQuery) has a problem reading an aggregate field? I cannot get the query to read an aggregate field for love or money. It complanis that it cannot find the fieldname (query.FieldbyName('sum').asInteger) or that the index(query.Fields[i].asInteger) is out of range.

The query syntax is correct and i can read the result when running it in PGAdmin.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to