thanks bol
went ahead and used the recordset w/ absolutepage.
forgot all about this since my access days.
thanks for the clarification.
b
Main Topics
Browse All Topicsgreetings, my first project using mssql and i'm missing my LIMIT!
i'm having trouble w/ the following code that should be the equivalent using mssql. my db will only contain 1-200 records and will never need to grow beyond that.
i understand x is the number of records i want to show, however i'm having trouble w/ y which is x + offset. need to display links to pages, want to show 10 records at a time.
2. how can i find the max records without iterating thru them in a separate recordset and how do i use the offset?
thanks,
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.
dirklance,
Your welcome! Did you need any other help or details? I noticed the B grade. If you do need help, still have a question or the grade was a mistake then let me know. It is nice to have a chance to earn the A and I could've certainly provided more info or help if I had the details and knew.
bol
dirklance,
I'm glad it was an accident. I thought maybe you still needed help or something like it. Thanks for the grade change and the extra effort to do it.
I am a zone advisor so I made the grade change for you. If you opened a new post in the Community Support area for help with changing the grade then you can close or delete it.
b0lsc0tt
EE Zone Advisor
Business Accounts
Answer for Membership
by: b0lsc0ttPosted on 2008-03-07 at 16:31:41ID: 21075255
dirklance,
Do you want the DB to return only the page or do you want your ASP script to handle it with the recordset object?
If the DB then you will need to probably set up a stored procedure.
If the recordset then the keys are rs.PageSize and rs.AbsolutePage. I can provide code if you need but you basically use them to know, as you loop through the recordset, when you are at the page you want.
Let me know if you have any questions or need more information.
b0lsc0tt