Saveing Sort in a table

J

jrlatt

We have a couple of tables that for years have been sorted by last name, and
then first name. All of a sudden it has changed. I have gone in several
times and have changed it back and saved it. However, if you close the
table, when you go back in it is not sorted again. Anyone else have this
issue. Please advise. Thank you.
 
R

Rick Brandt

jrlatt said:
We have a couple of tables that for years have been sorted by last
name, and then first name. All of a sudden it has changed. I have
gone in several times and have changed it back and saved it.
However, if you close the table, when you go back in it is not sorted
again. Anyone else have this issue. Please advise. Thank you.

Tables in relational databases have no order. Any order you see when you
open a table is fairly arbitrary although after compacting Access will
*usually* display the records in Primary Key order. If you want to view or
process records reliably in a certain order then you have to use a query
that has the sorting defined in the query's Order By clause.
 

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