There are also other functions you can use to do this.
Movefirst, movenext, movelast, etc......
All of these can move you through the record set after you create it. Try this link to the MSDN where they have a programmers reference for all of the ADO objects and properties. It can give you alot of insight into what you can and can't do.
Um, I hate posting when there are already several, but here is a built in way to do it.
objRecordset.Move 2,1
this means, move two records forward, starting at the first record. That should be the third
objRecordset.Move number, start
Where number is the number you would like to move and start is 1 for the the first record, 2 for the last record, and 0 for the current record
oh yeah, then get your name from objRecordset("names"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.