Hi everyone, I have a form with 2 calendar controls, Start and End date. I also have a combo with the months Jan - Dec. When the use selects a month I shove the dates into the calendar controls like this:
If they select March;
Me!startdate = #3/1/2003#
Me!enddate = #3/31/2003#
...and so on.
However I don't want the year hard-coded, I want the year part of the date to come from another combo box that is holding the years 2000 - 2010.
How do I re-write the lines of code above to make the year a variable, coming from the year combo?.
Thanks for any help
If they select March;
Me!startdate = #3/1/2003#
Me!enddate = #3/31/2003#
...and so on.
However I don't want the year hard-coded, I want the year part of the date to come from another combo box that is holding the years 2000 - 2010.
How do I re-write the lines of code above to make the year a variable, coming from the year combo?.
Thanks for any help