> How would I dump the current row that I'm outputting?
> 
> For example:
> 
> <cfoutput query="qryName">
>             <cfdump var="#qryName#">
> </cfoutput>
> 
> This dumps the whole query (a bunch of times). I just want 
> the current row being outputted.

A query object is essentially a structure of arrays, in which each column is
an array and the query itself is a structure containing the columns. There's
no "row" object within the query object. So, it's up to you to fetch
individual values from the columns for the row of data in which you're
interested. Something like the (untested) code below might work:

<cfoutput query="qryName">
        <cfloop list="#qryName.ColumnList#" index="i">
                #i[CurrentRow]#<br>
        </cfloop>
</cfoutput>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware: 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:191405
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