Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RecordSets

Status
Not open for further replies.

kliz0328

Programmer
Nov 7, 2005
138
0
0
US
Is there a way to only display the 5th or 6th or nth record of a recordset? Instead of

Do While Not(RecordSet.EOF)
code here
Loop

How do you make only record display?
 
What are you trying to do ?
You may consider the AbsolutePosition property or perhaps the Find or Seek methods.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Each record contains a lot of information, so my page is rediculously long, so I want to create previous and next buttons to cycle through each record. I was going to pass URL parameters to only display one record at a time.
 
You may perhaps consider the Bookmark property and the MoveNext and MovePrevious methods.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top