Solve "Birthday" days (any anniversary)

marek.kandra

New member
Local time
Today, 16:45
Joined
Jul 15, 2011
Messages
1
Hello,

I have table with column "Birthday", ex. (12/05/1982), formated like date. I would to make report to show me:
1.) actuall day Birtday (ex. 12/05/2011)
2.) Birthdays which came in two days (mean 12/05 - 14/05)
3.) Birthdays for last 5 days (means 07/05 - 12/05)

I tried to make query like this:
Day(DateAdd("d",2,Date()))
Day(DateAdd("d",-5,Date()))
Day(DateAdd("d",0,Date()))

Month(DateAdd("m",0,Date()))


or also, based on forum I found to way how create special column:

This year Birthday: DateSerial(Year(Date()),Month([Datum_narodenia]),Day([Datum_narodenia]))
...but its returned: "Data type mismatch in criteria expresion"


Could you advise some working and simple query? which can by used in reports?

thanks a lot

Marek
 
hi Marek,
I am also looking for the same answer..if you find plz post....
 

Users who are viewing this thread

Back
Top Bottom