Hello,
I am currently getting only 1 row of data showing. What do I need to change in the following so I can have more than 1 row?
Code:
<%
Const NumPerPage = 1
Dim CurPage, myCon, myRS, strSQL
If Request.QueryString("CurPage") = "" then
CurPage = 1
Else
CurPage = Request.QueryString("CurPage")
End If
connection here...
Set myRS = Server.CreateObject("ADODB.Recordset")
myRS.CursorLocation = adUseClient
myRS.CacheSize = NumPerPage
strSQL = "SELECT * FROM tbl_bro"
myRS.Open strSQL, myCon
myRS.MoveFirst
myRS.PageSize = NumPerPage
Dim TotalPages
TotalPages = myRS.PageCount
myRS.AbsolutePage = CurPage
Dim count
%>
Hope to hear...TIA.
(Why is there NOT MUCH activity on the WROX website?)