BCarruth
This is one of the FAQs that I think will help you!
Select birthdays within the next 30 days ...
faq181-1374
As usual, there is more than ine way to skin a cat ... this select statement can be pasted straight into QBE sql but do not forget to change table (Employees) and field name (Birthdate) ...
SELECT Employees.Birthdate,
Int((Now()-[birthdate])/365.25) AS Age,
[Birthdate]+((Int((Now()-[birthdate])/365.25)+1)*365.25) AS NextBirthday,
(Int((Now()-[birthdate])/365.25)+1) AS AgeNextBirthday, [Age]+1 AS Next
FROM Employees
WHERE ((([Birthdate]+((Int((Now()-[birthdate])/365.25)+1)*365.25)) Between Now() And Now()+30));
NOTE : the WHERE statement is exactly the same as the NextBirthday line.
Good Luck!
RookieDev