Dates don’t sort by month (1 Viewer)

arage

Registered User.
Local time
Today, 23:30
Joined
Dec 30, 2000
Messages
537
Hi,
What does it mean when the sort/group order of your date field in a report only gives you the option of ascending or descending, not by month say?
 
R

Rich

Guest
It means access is sorting alpha and not by date.Add Year([TbleName].[DateField])*12+DatePart("m",[TbleName].[DateField])-1 and sort by that.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 18:30
Joined
Feb 19, 2002
Messages
43,374
If you formatted the date field in the query, remove the format command and do the formatting in the report rather than in the query.
 

Users who are viewing this thread

Top Bottom