Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [charly] How make a "next record"-link?

Quote Reply
Re: [charly] How make a "next record"-link? In reply to
Hi Charly,

Can you check my code to see if I'm doing this right?

<tr>

<%next_page = ID + 1%>

<%prev_page = ID - 1%>

<%ID%>




<td width="50%"><%ifnot first%><a href="db.cgi?db=customerCases&do=search_results&detail=1&recordno=<%prev_page%>&recordno-opt==">previous record</a><%else%><%endif%></td>

<td width="50%">

<p align="right"><%ifnot last%><a href="db.cgi?db=customerCases&do=search_results&detail=1&recordno=<%next_page%>&recordno-opt==">next record</a><%else%><%endif%></td>

</tr>



Does ID represent the db_key?

Thanks!




Reena
Subject Author Views Date
Thread How make a "next record"-link? kjetilpa 3774 Mar 17, 2002, 6:13 AM
Thread Re: [kjetilpa] How make a "next record"-link?
jean 3660 Mar 17, 2002, 9:31 PM
Thread Re: [jean] How make a "next record"-link?
charly 3610 Jun 5, 2002, 9:18 AM
Thread Re: [charly] How make a "next record"-link?
charly 3622 Jun 5, 2002, 1:51 PM
Post Post deleted by charly
charly 3555 Jun 15, 2002, 1:46 PM
Post Re: [charly] How make a "next record"-link?
Reena0330 3423 Sep 3, 2002, 3:19 PM