Thanks :)
Spot on
On 15/11/03 6:55 pm, "Ben Doom" <[EMAIL PROTECTED]> wrote:
> What I've always done is loop through the query like a structure of arrays:
>
> for (i = 1; i <= query.recordcount; i = i + 1)
> {
> do_something_with(query.column[i]);
> }
>
> HTH.
>
> --Ben Doom
>
> Ryan Mitchell wrote:
>
>> > Hello
>> >
>> > I need to loop over a query in cfscript.
>> > I notice when I cfdump the query there is a record number in the left hand
>> > column, how would I loop using this as the identifier? I usually use cfloop
>> > but this is in the middle of a cfscript block :)
>> >
>> > Thanks,
>> > Ryan
>> >
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Looping through a Query in CFSCRIPT Jason Lees (National Express)
- Re: Looping through a Query in CFSCRIP... Dain Anderson
- Re: Looping through a Query in CFSCRIP... Joe Sheble aka Wizaerd
- RE: Looping through a Query in CFSCRIP... Hayes, David
- RE: Looping through a Query in CFSCRIP... Jason Lees (National Express)
- Looping through a query in cfscript Ryan Mitchell
- RE: Looping through a query in cfs... Philip Arnold
- Re: Looping through a query in cfs... Ben Doom
- Ryan Mitchell