Folks
I need some help on how to work with dates in the following scenario.
I have a database of documents, each of which has a review date, e.g.
Document 1: 02/02/10 [dd/mm/yy]
Document 2: 12/12/09
The reviewer needs to be notified on the first of the month preceding the review date, so
Document 1: 01/01/10
Document 2: 01/11/09
I'm generating these notification dates using DateSerial(Year([ReviewDate]),Month([ReviewDate])-1,1). However, I can't get these dates to sort properly: Access is sorting them by day, then month, then year. I need them sorted by year, then month, then day.
How would this normally be handled?
Remster