Formiko
02/17/2022, 8:22 PMMyka Forrest
02/17/2022, 8:26 PMsum()
function.. Regarding setting it to a variable...<cfset myVar = sum(total) />
Daniel Mejia
02/17/2022, 8:36 PMsum(amount) as 'total'
then you can reference it by #total#Myka Forrest
02/17/2022, 8:37 PMsum(amount)
in the queryageax
02/17/2022, 8:58 PMFormiko
02/17/2022, 9:06 PMMyka Forrest
02/17/2022, 9:07 PMFormiko
02/17/2022, 9:08 PMMyka Forrest
02/17/2022, 9:09 PMFormiko
02/17/2022, 9:09 PMMyka Forrest
02/17/2022, 9:10 PMFormiko
02/17/2022, 9:12 PMMyka Forrest
02/17/2022, 9:13 PMFormiko
02/17/2022, 9:24 PMMyka Forrest
02/17/2022, 9:25 PMFormiko
02/17/2022, 9:26 PMMyka Forrest
02/17/2022, 9:27 PMFormiko
02/17/2022, 9:28 PMMyka Forrest
02/17/2022, 9:29 PMFormiko
02/17/2022, 9:30 PMFormiko
02/17/2022, 9:33 PMPatrick S
02/17/2022, 9:34 PMMyka Forrest
02/17/2022, 9:34 PM#total#
. Are you doing this for each query record? Does it need to be scoped?Formiko
02/17/2022, 9:36 PMMyka Forrest
02/17/2022, 9:37 PMtotal
show in your bold tags?Formiko
02/17/2022, 9:38 PMFormiko
02/17/2022, 9:38 PMPatrick S
02/17/2022, 9:40 PMFormiko
02/17/2022, 9:41 PMFormiko
02/17/2022, 9:43 PMFormiko
02/17/2022, 9:45 PMageax
02/17/2022, 9:45 PM<cfoutput>
(or the like) to be evaluated and displayed. If you are attempting to iterate through multiple records in a query, use <cfoutput query="yourQueryName">
Patrick S
02/17/2022, 9:46 PMPatrick S
02/17/2022, 9:53 PMFormiko
02/17/2022, 10:01 PMPatrick S
02/17/2022, 10:06 PM