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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display xx results 1

Status
Not open for further replies.

JeroenB

Programmer
Apr 8, 2001
93
BE
Hi,

is there anybody who can tell me what's the most easy way to do the following;
After a &quot;search event&quot; you get the results. I have a html page on which I allways will place 10 results at a time. Now, I want to make a <select> box in which you can choose between results 0-10/11-20/21-30/....
Is someone familiar with this script, or is there someone who knows a good tutorial on this ?

Thanks in advance
JeroenB
 
Hi J

Use the recordset.count property and count the total number of records that your query retrieves. Divide by the number of items per page and get your total pages needed. Use a for loop to count out your ten records and display them and create a hyperlink to the next set of records...

i'll show you the code tomorrow...

Bastien
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top