I've got a from that I want to sort and keep sorted by the ID of the table concerned.
So I have an on open sort command that does that (ORDER BY ID DESC).
But when I add a new record the form goes back to the original ORDER BY ID ASC, except that the new record goes on the beginning, so the new order is 455, 1, 2, 3, etc.
The resulting entry in the underlying table is sorted in the right place.
Makes no difference to the weird sorting referred to above how I sort the underlying table and query.
Does anyone know how to keep the form ID order sorted ORDER BY DESC, following the initial sort on opening the form. Tried a few things but so far none have worked.
Peter
So I have an on open sort command that does that (ORDER BY ID DESC).
But when I add a new record the form goes back to the original ORDER BY ID ASC, except that the new record goes on the beginning, so the new order is 455, 1, 2, 3, etc.
The resulting entry in the underlying table is sorted in the right place.
Makes no difference to the weird sorting referred to above how I sort the underlying table and query.
Does anyone know how to keep the form ID order sorted ORDER BY DESC, following the initial sort on opening the form. Tried a few things but so far none have worked.
Peter