in you query just use
select sum(columnname)
from ...
where ...
good luck,
alex
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 6:26 PM
To: CF-Talk
Subject: To sum up some numbers
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