I have BirthDate field in tblEmpInfo. I need help with an expression that returns all employees that have a birthday in within 3 months of the first day of current month.
In my query I created a new field <<BirthMonth: =DateSerial(Year(Date()), Month([tblEmpInfo]![Birthdate]),1)>> and in criteria entered >=DateSerial(Year(Date()),Month(Date()),1) and <= DateSerial(Year(Date()), Month(Date())+3,0) but I get a data mismatch msg.
Thanks for any assistance!!
Miek
In my query I created a new field <<BirthMonth: =DateSerial(Year(Date()), Month([tblEmpInfo]![Birthdate]),1)>> and in criteria entered >=DateSerial(Year(Date()),Month(Date()),1) and <= DateSerial(Year(Date()), Month(Date())+3,0) but I get a data mismatch msg.
Thanks for any assistance!!
Miek