Patty Stoddard said:
How do I set a secondary sort. For example, I want my primary sort
to be last name and the secondary sort to be first name. Can this be
done in Access? If so, how?
That depends on what it is that you want sorted. In a query, you can
set multiple sort fields either in the query design grid or by setting
the SQL to include multiple fields in the ORDER BY clause, as for
example:
SELECT * FROM Table1
ORDER BY LastName, FirstName;
On a form, you can sort on multiple fields my using the Records ->
Filter -> Advanced Filter/Sort... function, or by modifying the form's
Order By property on the Data tab of its property sheet.
When viewing a datasheet, you can use the Records -> Filter -> Advanced
Filter/Sort... function I mentioned above.
In a report, the Sorting and Grouping dialog controls the sort order.
If you want to establish a permanent sort order for a form, you'd do
best to base the form on a query that specifies the order you want.