This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

increment a counter in a record set

 
Reggie McDougal
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm tring to id certian rows in a record set but my code returns the follwing, the count does not increment with each iteration of a row in a recordset. Can some one help me with this?

0
0
0
0
0


 
Reggie McDougal
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a dumb ass

countRecord = countRecord + 1

works fine
 
Barry Higgins
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or even just countRecord++; on it's own
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic