THanks!  Unfortunately, I forgot what i was going to do with it!
  ----- Original Message -----
  From: Dave Watts
  To: CF-Talk
  Sent: Monday, November 17, 2003 11:40 AM
  Subject: RE: Row Number variable

  > Hey guys, I dont want to have to use a counter inside a
  > CFOUTPUT QUERY tag.  Is there a variable like current_row or
  > something that would give me the current row number?  I using 4.5

  Yes, you can use CurrentRow:

  <cfoutput query="qFoo">
  Row #qFoo.CurrentRow# of #qFoo.RecordCount#<br>
  </cfoutput>

  You might find it useful to read the documentation that comes with CF, as it
  covers most of these things in adequate detail.

  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  voice: (202) 797-5496
  fax: (202) 797-5444


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

Reply via email to