you can also do: #arraysum(queryname.columnname)# Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/
Tech Gate wrote: > <cfquery ....> > select a.Dept, c.Assonum > ............. > group by a.Dept, c.Assonum > </cfquery> > > I need to get the SUM of c.Assonum, but I can't do sum(c.Assonum ) in > the sql (cfquery). > What is the way to get the SUM of c.Assonum with cf function? > > Please advise. > > Thank you > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316753 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

