Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: paging issue
07-15-2014, 07:55 AM #1
- Join Date
- May 2004
- Thanked 0 Times in 0 Posts
I have the following code
Set RScatf = Server.CreateObject("ADODB.Recordset") RScatf.CursorLocation = 3 ' adUseClient RScatf.Open SQL, objconn nitemsperpage=12 ' Set the page size of the recordset RScatf.PageSize = nItemsPerPage ' Get the number of pages nPageCount = RScatf.PageCount ' response.write "pagecount:" & npagecount
does anyone know why this would be
07-17-2014, 09:06 PM #2
What "makes the page count 2"???
This code, or the code you are using to actually show the pages/paging?
I'm guessing it has nothing to do with this code and everything to do with an error in your display code.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.