Sorry, yeah, looping over a query.  I did get the right variable pulling
technique going...but I don't even want to speak to the Inetrode style
freakiness in that loop...had one loop that had to loop another due to some
purely funky imports from a terrible database design...and the initial loop
value kept repeating itself rather than advancing...

Well, I appreciate the help.  This list is pure gold.

Eric

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 12, 2003 9:50 PM
To: CF-Talk

What kind of loop is it? If you are looping over a query, and you want the
value of column X, you can just output #x#. Or if you want to dynamically
select the column, you could do #queryname[columname][currentrow]#

If you doing a simple index loop, then you already know the current index.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

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

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

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2003 8:32 PM
> To: CF-Talk
> Subject: Get current row value in CFLOOP
> 
> 
> I forgot how to do this..
> 
> Have a loop, want to grab the current value of an item from that row.
> 
> I went with  loopname.currentrow.topic_id
> 
> Error
> 
> Is it loopname.topic_id[currentrow] or something that that instead??
> 
> Thanks!!!
> 
> Regards,
> 
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to