Subject | RE: [IBO] Simple doubt on query |
---|---|
Author | Roger Vellacott |
Post date | 2011-05-21T14:26:05Z |
> I got a simple question on use of queries.Since there is only one field, you can use the Fields[0] property of the
> When I have a query like talhis
>
> 'Select SUM("Value") from TABLE';
>
> That's gonna show me the total (sum) of field Value from table TABLE.
>
> But how can I show the result of this query on a label or edit box on
> Delphi?
>
> I tried to create some procedures and functions, but no way.
>
query component to get the value.
HTH
Woody (TMW)
__._,_.__Or give the field a name. SELECT SUM("Value") AS TOT_VALUE FROM TABLE
Roger Vellacott
[Non-text portions of this message have been removed]