Perfect. Thanks for the very quick response. I plan to implement this tomorrow.
Corey
Main Topics
Browse All TopicsOkay lets say that you have a query that brings back 45 records. You want to show 10 records at a time. What is the easiest way to do this in ASP?
I want to be able to do the < Previous | Next > idea that I see all over the place.
If you have code that would be perfect... but if you can explain it I can most likely figure it out.
Corey
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I cant get this to work for some reason. I am using MSSQL 2000. I have a complicated Query before this but I believe that any query would work.
The error I get is ADODB.Recordset error '800a0e78'
Operation is not allowed when the object is closed.
But before this I was getting an error about bookmarks not allowed or something like that.
__________________________
Query = "Select * From Table"
Set RS = Server.CreateObject("ADODB
iPageCount = RS.PageCount
Set RS = Conn.Execute(Query)
' If the request page falls outside the acceptable range,
' give them the closest match (1 or max)
If iPageCurrent > iPageCount Then iPageCurrent = iPageCount
If iPageCurrent < 1 Then iPageCurrent = 1
' Create recordset and set the page size
RS.PageSize = iPageSize
rs.CursorType = adOpenUnspecified
rs.CursorLocation = adUseClient
rs.CursorType = adOpenStatic
rs.LockType = adLockReadonly
RS.CacheSize = iPageSize
Business Accounts
Answer for Membership
by: hongjunPosted on 2003-01-17 at 21:31:49ID: 7751841
Look at this example les/db_pag ing.asp
http://www.asp101.com/samp
hongjun