If you are looping over a query you could use
queryName.currentRow


Taco Fleur
Blog  <http://www.tacofleur.com/index/blog/>
http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/

Tell me and I will forget
Show me and I will remember
Teach me and I will learn

-----Original Message-----
From: JT [mailto:[EMAIL PROTECTED]
Sent: Monday, 16 February 2004 3:44 AM
To: CF-Talk
Subject: RE: How can I know which record the loop is in

Just what I was looking for thx a million
  -----Original Message-----
  From: B. Patrick Ledwith [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 15, 2004 10:35 AM
  To: CF-Talk
  Subject: RE: How can I know which record the loop is in

  <cfoutput>
  <cfset ListOfSix="Item1,Item2,Item3,Item4,Item5,Item6">
  <cfset Counter=1>
  <cfloop list="#ListOfSix#" index="LoopListIndex">
  #Counter# #LoopListIndex#<br>
  <cfset Counter=Counter+1>
  </cfloop>
  </cfoutput>

  -----Original Message-----
  From: JT [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 15, 2004 9:16 AM
  To: CF-Talk
  Subject: How can I know which record the loop is in

  I have 6 records in a CVS List.

  How can I know which record the loop is in on a cfloop?
  ie.. which variable can I output to see which record it is looking at?

  JT
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to