Sum them in the query or during the query output loop.
Within QUERY: Select SUM(amount) FROM table
During OUTPUT: CFSET Total = Total + Amount
> OK I have a table with multiple records each with a currency field, how
> would I output the total $ of all the records.
> Rich
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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