Re: Need help totaling something up

2007-04-16 Thread Dave l
How'd i know this was gunna be u? Ok, here's what's throwing me. My output expands dynamically horizontally AND vertically. I'm having a hard time tracking the totals for each column, since they're dynamic. Here's my entire cfoutput. I worked on it a few hours, then got pissed

Re: Need help totaling something up

2007-04-16 Thread Will Tomlinson
How'd i know this was gunna be u? I got it figured out tho... ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR

Need help totaling something up

2007-04-15 Thread Will Tomlinson
Hey, I have an inner cfoutput that shows totals for each question answered. It looks like this: http://wtomlinson.com/outputcap.jpg I need it to count up the totals vertically for each question, then show them at the bottom, horizontally as shown. Except what you see in the screen cap are

Re: Need help totaling something up

2007-04-15 Thread Jake Pilgrim
I don't see any nested loops in the code below. So the simple answer here is to just declare some variables outside of the loop to manage the sums. As long as the variable is outside the loop, you'll be set: cfset answervalueTotal = 0 / cfset totalforthisquestionTotal = 0 / cfset

Re: Need help totaling something up

2007-04-15 Thread Will Tomlinson
I don't see any nested loops in the code below. So the simple answer here is to just declare some variables outside of the loop to manage I'm sorry, I should've posted the WHOLE output. The one I posted is JUST the inner cfoutput. I'll try your example shortly.. .Thanks jake! Will

Re: Need help totaling something up

2007-04-15 Thread Will Tomlinson
Ok, here's what's throwing me. My output expands dynamically horizontally AND vertically. I'm having a hard time tracking the totals for each column, since they're dynamic. Here's my entire cfoutput. I worked on it a few hours, then got pissed and erased what I'd done. I need to track each