I'm using MS Access 2003.
Probably a bonehead question, but I'm puzzled about something. When I enter a Record Source and an Order By property for a form, I expect it to retain those settings. However, if I open the form and sort the records differently, the Order By property is changed to the new sort order. Even if I close the app and reopen, it still displays the revised Order By. If I put the Order By in the Record Source (as a SQL statement), it simply adds the new sort order to the Order By property, which seems to override the one in the Record Source.
So if I wish to always sort in a particular order when the form opens, do I have to put something in the Open event? (and in the Close event to restore it in case the user has sorted another way after opening?)
Or what is best practice for sorting?
Thanks.
Wayne
Probably a bonehead question, but I'm puzzled about something. When I enter a Record Source and an Order By property for a form, I expect it to retain those settings. However, if I open the form and sort the records differently, the Order By property is changed to the new sort order. Even if I close the app and reopen, it still displays the revised Order By. If I put the Order By in the Record Source (as a SQL statement), it simply adds the new sort order to the Order By property, which seems to override the one in the Record Source.
So if I wish to always sort in a particular order when the form opens, do I have to put something in the Open event? (and in the Close event to restore it in case the user has sorted another way after opening?)
Or what is best practice for sorting?
Thanks.
Wayne