A
Aurora
I am using Access 2000.
How do I sort by the month of a Birthdate (date field)?
Aurora
How do I sort by the month of a Birthdate (date field)?
Aurora
-----Original Message-----
Assuming you want to start with January 1, type this into the Field row of
your query to sort by:
DateSerial(Year(Date()), Month([Birthdate], Day ([Birthdate]))
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
I am using Access 2000.
How do I sort by the month of a Birthdate (date field)?
Aurora
.
-----Original Message-----
The is a missing bracket for the Month() part:
DateSerial (Year(Date()), Month([Bdate1]), Day ([Bdate1]))
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
This is the formula I put in the field. But I get an
error message that says I have too many arguments. Can
you see what I am doing wrong?
DateSerial (Year(Date()), Month([Bdate1], day([Bdate1]))
Aurora
.
Aurora said:Allen:
I don't know what I am doing wrong. I retyped the formula
and it works in the query, but does not work in the report
Birthday list by Month. I used both the Bdate1 field and
the formula that I called BD1Month field. Neither one
will work in the report.
Any ideas of what is wrong? PS - thank you for trying to
help me. I really appreciate it.
Aurora
-----Original Message-----
The is a missing bracket for the Month() part:
DateSerial (Year(Date()), Month([Bdate1]), Day ([Bdate1]))
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
This is the formula I put in the field. But I get an
error message that says I have too many arguments. Can
you see what I am doing wrong?
DateSerial (Year(Date()), Month([Bdate1], day([Bdate1]))
Aurora
.