i wish to show 5 datas on every page. but i cant seem to do so. below is my codes. the error msg i keep getting is "Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype."
What cursortype should i use then? pls advise.
' Retrieve Orders
sqlString = "SELECT * " &_
"FROM orders, Users, Products, ordereditems " &_
"WHERE order_userID=user_id " &_
"AND ordereditems_orderID=order_id " &_
"AND ordereditems_productID=product_id "
IF showOrders < 99 THEN
sqlString = sqlString & "AND order_status=" & showOrders
END IF
sqlString = sqlString & " ORDER BY order_entrydate DESC"
SET RS = Server.CreateObject( "ADODB.Recordset" )
RS.CursorType = adOpenStatic
IF allPages = "" THEN
RS.PageSize = 5
ELSE
RS.PageSize = 99999
END IF
RS.ActiveConnection = Conn
RS.Open sqlString
IF NOT RS.EOF THEN
RS.AbsolutePage = cINT( showPage )
END IF
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...