Hi,
I have an EventCalendar form, which has a continuous sub form.
Basically, i have one combo box with different months listed and another which has years (2011 til 2030), and a command button.
Now the subform has all the records about all the events users have recorded, including date, location, time start and time end.
What I want is users to choose the month from the combo and the year from the second combobox, click the command button, and only the records whose date match the month and the year should display.
What code do I use?
I'm thinking a me.filter would be sufficient in the onclick event of the btn.
I have an EventCalendar form, which has a continuous sub form.
Basically, i have one combo box with different months listed and another which has years (2011 til 2030), and a command button.
Now the subform has all the records about all the events users have recorded, including date, location, time start and time end.
What I want is users to choose the month from the combo and the year from the second combobox, click the command button, and only the records whose date match the month and the year should display.
What code do I use?
I'm thinking a me.filter would be sufficient in the onclick event of the btn.