PC Review


Reply
Thread Tools Rate Thread

Current Record Number

 
 
Luis
Guest
Posts: n/a
 
      3rd Oct 2008
Hello
Is it possible to get the current record number while looping through a
record set?

Something like this:

Do

---> The current record number is rs.???
rs.Movenext
Loop While Not rs.EOF

Thanks.

Luis
 
Reply With Quote
 
 
 
 
John Spencer
Guest
Posts: n/a
 
      3rd Oct 2008
Not sure what you want. You could mean you want the position of the current
record in the recordset. If so,
rs.AbsolutePosition
returns the Position of the record in the recordset.


John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County

Luis wrote:
> Hello
> Is it possible to get the current record number while looping through a
> record set?
>
> Something like this:
>
> Do
>
> ---> The current record number is rs.???
> rs.Movenext
> Loop While Not rs.EOF
>
> Thanks.
>
> Luis

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Store the current record number Sally Green Microsoft Access Form Coding 2 23rd Sep 2008 02:05 AM
determining current record number... Brad Pears Microsoft Access Form Coding 1 5th Apr 2006 08:08 PM
Current record number of a table. doyapore Microsoft Access Queries 3 27th Dec 2004 11:56 AM
current record number ven Microsoft ASP .NET 6 23rd Jul 2004 07:36 PM
Display current record number? GCMathis Microsoft Access 4 9th Oct 2003 08:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:49 AM.