[KCFusion] CFLOOP Issue

2003-09-25 Thread Jim T Pickering
I have a list (valuelist) that I get from a query. Looks like this: 1,1,1,1,2,2,2,2,2,3,3,3,3,3,3 I need an integer for how many 1s, 2s, 3s, etc there are in the list. 4-1s, 5-2s, and 6-3s. I understand that ListValueCount(list, value) does that. It is supposed to report how many

Re: [KCFusion] CFLOOP Issue

2003-09-25 Thread Adaryl Wakefield
Umm..maybe im not quite getting something in your questionbut..your cfoutput is outside the loop tags. Since that is the case then headlinePerSection keeps getting reassigned a new value each loop 4 then 5 then 6. Why not put an array in the loop so you could store the value each

RE: [KCFusion] CFLOOP Issue

2003-09-25 Thread Jim T Pickering
Uh, I just moved the /cfloop tag below the cfoutput block, and it worked like a charm. This probably seemed fairly elementary and simple but you know when you work on a getting over a series of hurdles for three days and you start missing the obvious as you near the last hurdle? Thats

RE: [KCFusion] CFLOOP Issue

2003-09-25 Thread Jim T Pickering
No actually I appreciate you helping me out. Ive been trying to cross that threshold into thinking advanced CF, but like you said its a different thought process. Whats difficult is putting the advanced theory into practice in one own app. Examples in books are always so generic. I really