Possible Duplicate:
ms-access built in function Month(number)
In one of my queries I have the following function.
DateSerial(Date(),[Roster]![DOH],[Roster]![DOH])
When I invoke the query I receive an overflow error. What am I doning wrong?
Possible Duplicate:
ms-access built in function Month(number)
In one of my queries I have the following function.
DateSerial(Date(),[Roster]![DOH],[Roster]![DOH])
When I invoke the query I receive an overflow error. What am I doning wrong?
So if [DOH]
is date of hire and you want the anniversary in the current year, use this:
DateSerial(Year(Date()), Month([Roster]![DOH]), Day([Roster]![DOH]))