Paging and Sorting wtih Access Query

  • Thread starter Carlos Durán Urenda
  • Start date
C

Carlos Durán Urenda

Hi

Who I Can do it

with the SQL Sentence ...
SELECT TOP 50 FROM Table ORDER BY Id
I get First 50 rows from a table

with Sentence ...
SELECT TOP 50 FROM Table WHERE Id > LastRowId ORDER BY Id
I get the next 50 rows from a table

But. if i want order by another field, who can i get the next resultset?

Tnks
CD
 

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