I'm having a problem creating a report using 2 ComboBox -- One For Month and One For Year.
Basically I have Created a Query that shows the Data I want in the Report. Based the Report off the Query. But I need a Form with only 2 ComboBox to make the Query filter the dates by Month and Year.
The Dates in the Query Field "MoveInDate" is formatted mmm/dd/yyyy.
What Criteria would I put in the Query and Where in the query would I put it to pull only those records that the Month and Year match the "MoveInDate"?
I have tried -- [Forms]![ReportSelection]![ReportMonth] And [Forms]![ReportSelection]![ReportYear] in the Criteria under [DetailsQ].[MoveInDate] -- but it just errors out. I put "Like" in front of this Criteria -- No Error But the report shown No Records.....
By the way the ComboBoxes pull from Tables to get their Value.
I have 2 Tables for them. One is "ReportMonthT" with Fields:
"ReportMonthID" = 1-12 & "ReportMonth" = January, February, etc. with the Respective MonthID.
Then I have Table "ReportYear" with Just Years = 2012, 2013, 2014, etc.
Please Help!!!!
Thank you!