Re: Row Number variable

2003-11-17 Thread brob
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:

  
  Row #qFoo.CurrentRow# of #qFoo.RecordCount#
  

  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]




RE: Row Number variable

2003-11-17 Thread Raymond Camden
Yes, currentRow.


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




RE: Row Number variable

2003-11-17 Thread Dave Watts
> 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:


Row #qFoo.CurrentRow# of #qFoo.RecordCount#


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]




Row Number variable

2003-11-17 Thread brob
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
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]