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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

