Sorting Dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query with a 'date' column. In this column, I have dates from
7/27/2007 - 8/12/2007. When I sort the dates, it goes from 7/27 - 8/1. Then
it goes 8/10 - 8/12, and from 8/2 - 8-9. What can I do to get this thing to
sort correctly?
 
The problem is that your dates are not dates, they are text strings.

Try adding a calculated column and then sorting by that column

Field: RealDate: DateValue([YourField] & "/2007")

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Back
Top