S Sofo Registered User. Local time Today, 07:06 Joined Oct 10, 2007 Messages 17 Oct 11, 2007 #1 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?
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?
statsman Active member Local time Today, 01:06 Joined Aug 22, 2004 Messages 2,082 Oct 11, 2007 #2 If you are running your form from a query, sort in the query.
S Sofo Registered User. Local time Today, 07:06 Joined Oct 10, 2007 Messages 17 Oct 11, 2007 #3 Thanks. Unfortunately i am not running it from a query. It is a subform in datasheet mode.
missinglinq AWF VIP Local time Today, 01:06 Joined Jun 20, 2003 Messages 6,417 Oct 11, 2007 #4 You need tomake a query of the table, sort the query by the desired field, then base the subform on the query.
You need tomake a query of the table, sort the query by the desired field, then base the subform on the query.
S Sofo Registered User. Local time Today, 07:06 Joined Oct 10, 2007 Messages 17 Oct 15, 2007 #5 Solution. Found a simple solution: Simply add 'SORTED BY fieldname DESC' (or whatever wanted) to the select statement that populates the datasheet.
Solution. Found a simple solution: Simply add 'SORTED BY fieldname DESC' (or whatever wanted) to the select statement that populates the datasheet.