[thelist] ASP Problems again..

Jacques Capesius jacques_capesius at cnt.com
Thu Oct 31 09:29:01 CST 2002


seems to me that this is the area that might be giving you trouble, from the
line 80 thing...

===============================================

<!--BeginPaging-->
  <table align=center width=90% bgcolor= "#FFFBF0">
   <tr>
    <td  align="right" colspan=4>
    <% If iPage <> 1 then %>
      <a href="showimage.asp?ipage=<% = (iPage-1) %>">
      <font face="verdana" size=2>Previous</font>
      </a>
    <% end if %>
      [ Page Number<%response.write iPage %> out of <% response.write
intTotalPages%>]
    <% if cint(iPage) <> cint(intTotalPages) then %>
       <a href="showimage.asp?ipage=<% = (iPage+1) %>">
       <font face="verdana" size=2>Next</font>
       </a>
    <% end if %>
    </td>
    </tr>
  </table>
   <!--EndPaging-->

============================================

in that part, the thing that sticks out are the Cints, which would give me
problems when trying to convert to an int when there was nothing being
passed to them. A thing you might want to check if you haven't already, is
the value in iPage and/or intTotalPages.

HTH!



More information about the thelist mailing list