#ArraySum(ListToArray(ValueList(myquery.column)))#

is one way...

Try and do it in the query if you can, that's easier:

SELECT ... SUM(column) AS ColumnSum ...

> I think I don't get it today.
> 
> How can I add (sum up) the following numbers:
> 12 3 4 0 6 5 4 3 ...
> 
> They do come from a query as #myquery.recordcount#
> 
> Do I need an array for this ?? (And then the function ArraySum ?)
> Or is there s.th. easier ?
> 
> Uwe
> 
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to