Article ID: 202125 - Last Review: July 15, 2004 - Revision: 1.4 How To Page Through a Recordset from ASPThis article was previously published under Q202125 SUMMARY
This article describes how to use the PageSize, PageCount, and AbsolutePage properties of an ADO recordset and what cursor types must be used to get Recordset Paging to work.
MORE INFORMATION
This sample code demonstrates using Recordset Paging against the Adventure Works Access database.
The code Assumes the system DSN named AdvWorks is pointing to the Adventure Works Access 97 database. When using Recordset Paging against SQL Server, you can use a server side cursor. However, you must use either a Static or a Keyset cursor type. Otherwise, no data will be returned. If you use a client side cursor, all cursor types will work, but only a static cursor is returned. When using Recordset Paging against Microsoft Access, you must use a client side cursor. Any cursor type will work, but again only a static cursor is returned. A server side cursor will not return any data. When using Recordset Paging against Oracle, you can use a server side cursor, but if you do, you must use a Static or Keyset cursor type. Otherwise, no data will be returned. If you use a client side cursor, all cursor types will work, but only a keyset cursor is returned. APPLIES TO
| Article Translations
|


Back to the top
