Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Previous and Next Record Links

Quote Reply
Previous and Next Record Links
Hi,

I'm currently converting a client's DBMan vehicle database to DBManSQL and need to show a record navigation bar across the top of the 'detailed' page.

The search results show all the vehicles in a list, with each vehicle linked to a 'detailed' page. Once on that page I want to show a link to the PREVIOUS and NEXT records.

http://www.wcsauto.com/..._results&keyword=*

For DBMan I used the 'sub html_record_long' mod and whilst I've seen a post in this forum about using ID +/- 1 I am assuming that won't work if there are gaps in the ID numbers?

I notice in the search results template there's a <%if hits%> - is it possible to use <%hits%> in some way to push the URL for the previous and next links?

Any help appreciated.

All the best
Shaun
Subject Author Views Date
Thread Previous and Next Record Links qango 3177 May 21, 2003, 5:54 AM
Thread Re: [qango] Previous and Next Record Links
qango 3100 May 22, 2003, 8:42 AM
Thread Re: [qango] Previous and Next Record Links
qango 2939 Jul 17, 2003, 6:56 AM
Thread Re: [qango] Previous and Next Record Links
604 2949 Jul 17, 2003, 11:25 AM
Post Re: [TheStone] Previous and Next Record Links
ltillner 2737 Feb 19, 2004, 11:30 AM