Jump to content


ASP display records


  • You cannot reply to this topic
No replies to this topic

#1 DA3DALUS

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 05 May 2006 - 07:48 AM

I'm using dreamweaver to develop a shopping cart application in ASP VBScript. And when I want to display the products in the database I have a 10 record limit per page. And I have inserted a recordset navigation bar, but it only displays: First, Previous, Next, Last. I want it to display: |< 1 2 3 4 5 >|. So that you can jump to page 4 if you want. And not having to have to press Next 3 times.

Navigation bar:

<table border="0" width="50%">
<tr>
<td width="23%" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_moveFirst%>">First</a>
<% End If ' end MM_offset <> 0 %>
</td>
<td width="31%" align="center"><% If MM_offset <> 0 Then %>
<a href="<%=MM_movePrev%>">Previous</a>
<% End If ' end MM_offset <> 0 %>
</td>
<td width="23%" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveNext%>">Next</a>
<% End If ' end Not MM_atTotal %>
</td>
<td width="23%" align="center"><% If Not MM_atTotal Then %>
<a href="<%=MM_moveLast%>">Last</a>
<% End If ' end Not MM_atTotal %>
</td>
</tr>
</table>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users