Re: Arrays - humbug! - Part 2

2010-02-05 Thread Tom McNeer
Larry, Not sure exactly what you're going for. But rather than go into array usage (and looping a collection), which you can probably learn better elsewhere, maybe there's a simpler way to attack the problem. In the end, you seem to simply want to go over a query result: cfquery name=GetLats

RE: Arrays - humbug! - Part 2

2010-02-05 Thread Stephens, Larry V
To: cf-talk Subject: Re: Arrays - humbug! - Part 2 Larry, Not sure exactly what you're going for. But rather than go into array usage (and looping a collection), which you can probably learn better elsewhere, maybe there's a simpler way to attack the problem. In the end, you seem to simply want

Re: Arrays - humbug! - Part 2

2010-02-05 Thread Tom McNeer
For further manipulation, it's also sometimes handy to remember that a query object is essentially a struct of arrays, with the selected columns at struct keys. So you can also do things like: cfif Session.Report.lats.recordCount GT 0 cfloop from=1 to #Session.Report.lats.recordCount# index=i