You had to use the query name in cfloop but not in cfoutput.

That's the only rule there was... at least that I recall...

so this worked:

<cfoutput query="qryName">#colName#</cfoutput>

And this worked:
<cfloop query="qryName">#qryName.colName#</cfloop>

But this would only output the first row for every iteration:

<cfloop query="qryName">#colName#</cfloop>

Laterz,
J


On Sun, 27 Mar 2005 15:06:43 -0500, Andrew Tyrone <[EMAIL PROTECTED]> wrote:

> I might be crazy, but I seem to remember, at least in CF 4.x versions, that
> if you scoped a query column within a cfoutput, it would only output the
> data in the first row of the query, not the current row, no matter where you
> were in the loop.  That might also have been the case when outputting query
> data with cfloop, and I might have these totally reversed as far as which
> exhibited the aforementioned behavior.  Either way, I never scoped query
> columns when looping over a query for this reason.  I don't remember with
> which version of CF this changed.  Like I said, I might be crazy and this
> never was the case, but something tells me it was.
> 
> Andy
>  


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://www.web-relevant.com/blogs/cfobjective

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200154
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to