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
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
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
3 matches
Mail list logo