Datasheet sorting not working

Sofo

Registered User.
Local time
Today, 07:51
Joined
Oct 10, 2007
Messages
17
I have set a datasheet to be sorted descending on a date in the sorted by field of the Data tab, but the sort isn't performed when i open the form.
What can be wrong?
 
If you are running your form from a query, sort in the query.
 
Thanks. Unfortunately i am not running it from a query. It is a subform in datasheet mode.
 
You need tomake a query of the table, sort the query by the desired field, then base the subform on the query.
 
Solution.

Found a simple solution: Simply add 'SORTED BY fieldname DESC' (or whatever wanted) to the select statement that populates the datasheet.
 

Users who are viewing this thread

Back
Top Bottom