> 
> I figured the answer would be similar.  In my actual use I 
> need to loop over a query without knowing what the columns 
> are, so I use the recordset.columnlist in my list loop.  
> That's why I created the structure with testquery[i], so I 
> could approximate query["foo"].

Right, so all you would do is either hard code [1], or, if you are also
looping over the rows, add [i] (where i is the current row), or if you
are actually looping over the query w/ cfloop or cfoutput, yo ucan use
[currentRow]

> So if I say testquery[1], don't I still need to supply the 
> columnname somehow to get at the values?  Would that be 

Eh? I never said [1] by itself, I said to _add_ [1], so if col = the
name of the column, it owuld be

testquery[col][1]

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc

Email    : [EMAIL PROTECTED]
WWW      : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to