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!

search result display

Status
Not open for further replies.

hz

Programmer
Oct 2, 2000
29
US
I built a asp serach engine. The front end of the search is a html submit form. The search result goes to a different page. The serach engine works fine. But I don't know a way to display the result in different pages. I did find some online reference on paging the result, but none works with the submit form. Any examples, references? TIA.
 
You could build all the pages using the resulting asp page and then use DHTML to make only the current page they're viewing visible. Then, just make the appropriate page visible as they hit next/prev links. This would also result in only one query to the DB which would be nice instead of hitting the DB for every page. If you don't know how to hide/show sections using DHTML, you might want to look into a DHTML book or something because it's a bit extensive and probably a bit too much to explain in this little text box. =)

The other option is just to keep track of the records you've already displayed and page through them passing the value of the records that were just displayed in the Querystring. I've used both methods and each have their plus and minuses, depends what sort of outcome you're looking for and what 'features' you're willing to compromise. Ed (RoadRacer) Holguin

"I Hate Computers!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top