Grouping Records on continuous forms

M

Matt Kisasonak

Is it possible to return only the first ten records and
have buttons to go to the next ten and so on? The same
way web pages work.
 
M

Michel Walsh

Hi,


- Rank the records, then use the appropriate criteria like: WHERE rank BETWEEN 11 AND 20

or

- SELECT TOP 10 ... FROM (SELECT TOP 20 .... ORDER BY f1 ASC) .... ORDER BY f1 DESC

or open a read only forward only recordset and pump back the 10 next records, one record at a time
inside a loop (may be the faster solution for very large tables).



Hoping it may help,
Vanderghast, Access MVP
 

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