Getting 2nd row in a table

  • Thread starter Thread starter Laurel
  • Start date Start date
L

Laurel

I need to get the 2nd row in a table, when it is ordered by date. I know I
can get it by retrieving the whole result set ordered by date and then step
to the 2nd row in the recordset. But that seems inefficient. In some
environments, I believe I've seen a SELECT TOP 10.... or something to that
effect.

1 - Is there such a statement in Access SQL?
2 - Where can I find the syntax for access SQL? I haven't had look using
Access HELP.
 
Laurel,
1 - Is there such a statement in Access SQL?

Yes, it is the "Top Values Property"
2 - Where can I find the syntax for access SQL? I haven't had look using
Access HELP.

You can search in VB Help on Top Values.
 

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

Back
Top