I have a query which tells me when a persons birthday is no matter what year they were born (i.e. based on dd-mmm), but I would like to expand that so I can find birthdays in the week or fortnight ahead, can somebody assist, current SQL:
SELECT tblClients.ClientName, tblClients.Address1, tblClients.PostCode, tblClients.ContactNumber, tblClients.Email, tblClients.Mobile, tblClients.Birthday
FROM tblClients
WHERE (((Format([tblclients].[birthday],'dd mmm'))=Format(Date(),'dd mmm')))
GROUP BY tblClients.ClientName, tblClients.Address1, tblClients.PostCode, tblClients.ContactNumber, tblClients.Email, tblClients.Mobile, tblClients.Birthday;
regards Kh
SELECT tblClients.ClientName, tblClients.Address1, tblClients.PostCode, tblClients.ContactNumber, tblClients.Email, tblClients.Mobile, tblClients.Birthday
FROM tblClients
WHERE (((Format([tblclients].[birthday],'dd mmm'))=Format(Date(),'dd mmm')))
GROUP BY tblClients.ClientName, tblClients.Address1, tblClients.PostCode, tblClients.ContactNumber, tblClients.Email, tblClients.Mobile, tblClients.Birthday;
regards Kh