Hello All,
I have an open pop-up form where I enter a date in this field: [forms]![frmTurnAroundTimeExcel]![txtWeekEnding]. I would like to use that date in my query to limit my results to the month and year that is in txtWeekEnding. So if I enter 9/13/2013, I would like all results from the month of September 2013.
Grabbing at straws, I came up with this as the criteria, but as you might know, it didn't work - but this is the idea:
=DatePart("m",[forms]![frmturnaroundtimeexcel]![txtweekending]) And DatePart("yyyy",[forms]![frmturnaroundtimeexcel]![txtweekending])
Any help would be greatly appreciated!
Scott
I have an open pop-up form where I enter a date in this field: [forms]![frmTurnAroundTimeExcel]![txtWeekEnding]. I would like to use that date in my query to limit my results to the month and year that is in txtWeekEnding. So if I enter 9/13/2013, I would like all results from the month of September 2013.
Grabbing at straws, I came up with this as the criteria, but as you might know, it didn't work - but this is the idea:
=DatePart("m",[forms]![frmturnaroundtimeexcel]![txtweekending]) And DatePart("yyyy",[forms]![frmturnaroundtimeexcel]![txtweekending])
Any help would be greatly appreciated!
Scott