I have the database table open and have found it by searching it myself.
Here is the code in txt file.
But to help you out, since the full code in the file is long, I think this is where something goes wrong.
Code:
If Len(Request("page")) = 0 Then
rs.AbsolutePage = 1
Else
If CInt(Request("page")) <= rs.PageCount Then
rs.AbsolutePage = Request("page")
Else
rs.AbsolutePage = 1
End If
End If
Dim abspage, pagecnt
abspage = rs.AbsolutePage
pagecnt = rs.PageCount
I also think there is something wrong in this section:
Code:
if rs.bof and rs.eof then
Response.Write "No records found!"
Else
If Not rs.EOF Then%>
<center>
<form>...
Because when the search cannot find a query it shows error.
Bookmarks