How to filter query to list all date field who have birthday from NOW date?
Tnx
Assuming that you have the person's date of birth in a field named DOB (e.g.
#5/16/1946#), you can use a calculated field in a query: in a vacant field
cell type
Birthday: DateSerial(Year(Date()), Month([DOB]), Day([DOB]))
This field will contain the current year's birthday anniversary. You can use a
criterion
BETWEEN Date() AND Date() + 7
to see the upcoming week's birthdays. Note that this won't work in the last
week of the year; you can get fancier with the expression if that's a problem.
John W. Vinson [MVP]