LeaveDate is a date field in the table formatted as short date. ExportMonth is a combo box on the form containing strings; its row source is a query: "SELECT DISTINCT MonthName(Month(LeaveDate)) & " " & Year(LeaveDate) FROM TimeOffLog"
But the QueryDefs are comparing integers to integers with the Month() and Year() functions.