andmunn
07-22-2010, 08:18 AM
Hello All,
I have a query which runs, and i extract the "month and date" from a field using this function:
MonthYear: Format([dateContractEnds],"mmmm yyyy")
(ascending)
When i run the query, it works great, and the dates are sorted as they are supposed to be (I.E.// Jun 2010 first, August 2010 next, Jan 2011 next, and so on in order of smallest to greatest date).
However, i now created a report and using the "sorting and grouping" option on this field (MonthYear). It now mixes up all the dates and they aren't in the same order as the query.
Any rationale?
I basically want the report to be ordered by month and year...
Andrew.
I have a query which runs, and i extract the "month and date" from a field using this function:
MonthYear: Format([dateContractEnds],"mmmm yyyy")
(ascending)
When i run the query, it works great, and the dates are sorted as they are supposed to be (I.E.// Jun 2010 first, August 2010 next, Jan 2011 next, and so on in order of smallest to greatest date).
However, i now created a report and using the "sorting and grouping" option on this field (MonthYear). It now mixes up all the dates and they aren't in the same order as the query.
Any rationale?
I basically want the report to be ordered by month and year...
Andrew.