I have a query in which I have used DatePart to separate the day and the month from a person's date of birth.
I am trying to create a report that will sort the birthdays into Months. I have tried using Date of birth - month but it still sorts into the different years e.g. jan 1990 Feb 1990 . . . then Jan 1991 etc.
I have also tried to get it to sort on the datepart month, this works but only shows 1, 2 or 3 etc. I have tried changing the formatting for this but with no success.
Any ideas please.
I am trying to create a report that will sort the birthdays into Months. I have tried using Date of birth - month but it still sorts into the different years e.g. jan 1990 Feb 1990 . . . then Jan 1991 etc.
I have also tried to get it to sort on the datepart month, this works but only shows 1, 2 or 3 etc. I have tried changing the formatting for this but with no success.
Any ideas please.