All,
I try to make a query to show only records of people that are born in the next week .
I found something working like this :
SELECT members.*
FROM members
WHERE (((DatePart("y",[members].[BirthDate])) Between DatePart("y",Date()) And DatePart("y",Date())+7));
Is there a better way to do this?
Can you add weeks or months to an access date in a query ?
I know you can in Oracle, but do not know how to do it in access SQL .
I try to make a query to show only records of people that are born in the next week .
I found something working like this :
SELECT members.*
FROM members
WHERE (((DatePart("y",[members].[BirthDate])) Between DatePart("y",Date()) And DatePart("y",Date())+7));
Is there a better way to do this?
Can you add weeks or months to an access date in a query ?
I know you can in Oracle, but do not know how to do it in access SQL .