G
Guest
I have a combo box on my form with the following row source:
SELECT Max(tbl_CalDates.CalDate) AS MaxOfCalDate, tbl_CalDates.MonthNum,
tbl_CalDates.YearNum FROM tbl_CalDates GROUP BY tbl_CalDates.MonthNum,
tbl_CalDates.YearNum ORDER BY Max(tbl_CalDates.CalDate);
When the user selcts an option (the box will display the CalDAte field), I
need to write some code n the AfterUpdate event of the ComboBox to filter the
form based on the fields on the form (MonthNum and YearNum) based on the 2nd
and 3rd field values returned by the combobox selection.
What is the code I'd need to enter into the AfterUpdate event to achieve this?
Thanks in advance!
SELECT Max(tbl_CalDates.CalDate) AS MaxOfCalDate, tbl_CalDates.MonthNum,
tbl_CalDates.YearNum FROM tbl_CalDates GROUP BY tbl_CalDates.MonthNum,
tbl_CalDates.YearNum ORDER BY Max(tbl_CalDates.CalDate);
When the user selcts an option (the box will display the CalDAte field), I
need to write some code n the AfterUpdate event of the ComboBox to filter the
form based on the fields on the form (MonthNum and YearNum) based on the 2nd
and 3rd field values returned by the combobox selection.
What is the code I'd need to enter into the AfterUpdate event to achieve this?
Thanks in advance!