DateAdd("m",-1,Date()) returns only the records for December 7, 2004(exactly 1 month ago to the date). Likewise, DateAdd("m",-3,Date()) returns records for October 7, 2004 only. I'm looking for all records older than 6 months from todays date.
i.e.
if todays date is 1/7/05
then I want "all" records older than 7/7/05.
I thought you were looking for all records more than six months old. Hence your -6 in the DateAdd function.
To get all dates Prior to six months in the future from today's date, change your -6 to 6.
DateAdd("m",6,Date())
I am what I am based on the decisions I have made.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.