Guys, from my original thread 701-1371521 I mention I’m trying to pull dates by the date I enter and it will also pull from the previous 12 months not including the entire month from my date I entered only the date; (WRONG). Its doing that but its not including the month I entered in the date parameter. Could you revise this for me, surely appreciate it.
Exp: If I enter 4/5/2007 in a parameter query I would see dates 4/5/2007 thru 4/5/2006 going back 12 months including the month choose.
Like "*" & [DateStarted(mm/dd/yyy)] & "*" Or Between DateSerial(Year([DateStarted(mm/dd/yyy)])-1,1,1) And DateSerial(Year([DateStarted(mm/dd/yyy)]),Month([DateStarted(mm/dd/yyy)]),0)
Exp: If I enter 4/5/2007 in a parameter query I would see dates 4/5/2007 thru 4/5/2006 going back 12 months including the month choose.
Like "*" & [DateStarted(mm/dd/yyy)] & "*" Or Between DateSerial(Year([DateStarted(mm/dd/yyy)])-1,1,1) And DateSerial(Year([DateStarted(mm/dd/yyy)]),Month([DateStarted(mm/dd/yyy)]),0)