SELECT TOP 100 records or another 100 records

M

Man Utd

MS Access 2000, is it possible to retrieve the 100 records at a time?

eg.
SELECT TOP 100 *
FROM Employee

I want to retrieve the second 100 record, third 100 records and so on.
 
D

Douglas J Steele

Unfortunately, Access doesn't support that directly.

You'd need to grab the id of the last record selected, then alter your SQL
so that it's

SELECT TOP 100 *
FROM Employee
WHERE SortField > LastSortField

(and, of course, you must have an ORDER BY in the query)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top