timnicholls
Technical User
Hi All.
On a form I have two comboboxes.
One populated with years and the other with months in a year.
So a user can select say 2002 and March.
Now these values have to be transfered to a query so that from a column of dates in a table called "Entry Dates" we can find those who entered a program on March 2002.
A report is then created on that query.
It has to be user configurables of course with the selection of the month and year with the comboboxes being dynamic. We cannot hard code the query...
Has anybody done this before?
How do we just get the month and year from a date and ignore the day?
Any help would be appreciated.
Thanks
Tim
On a form I have two comboboxes.
One populated with years and the other with months in a year.
So a user can select say 2002 and March.
Now these values have to be transfered to a query so that from a column of dates in a table called "Entry Dates" we can find those who entered a program on March 2002.
A report is then created on that query.
It has to be user configurables of course with the selection of the month and year with the comboboxes being dynamic. We cannot hard code the query...
Has anybody done this before?
How do we just get the month and year from a date and ignore the day?
Any help would be appreciated.
Thanks
Tim