D
David G.
Everything I've read so far says the calendar control's date can be
changed in VBA by:
CalendarControlName.Value=ControlName.Value
where ControlName.Value is a valid date.
DOESN'T WORK!
I've tried
CalendarControlName.Value=#05/05/2010#
CalendarControlName.Value="05/05/2010"
CalendarControlName.Value=cdate(ControlName.Value)
The day, month, and year values don't update. I'm able to effectively
use the calendar control on a pop up form to change text box date
values just fine. The only problem I'm having is setting the date when
the pop-up form opens. The code
me.ocxCalendar.Value=dteMydate
runs when the pop up form opens, without any errors, but the calendar
control's selected date won't change.
What am I missing?
THANKS!
David G.
changed in VBA by:
CalendarControlName.Value=ControlName.Value
where ControlName.Value is a valid date.
DOESN'T WORK!
I've tried
CalendarControlName.Value=#05/05/2010#
CalendarControlName.Value="05/05/2010"
CalendarControlName.Value=cdate(ControlName.Value)
The day, month, and year values don't update. I'm able to effectively
use the calendar control on a pop up form to change text box date
values just fine. The only problem I'm having is setting the date when
the pop-up form opens. The code
me.ocxCalendar.Value=dteMydate
runs when the pop up form opens, without any errors, but the calendar
control's selected date won't change.
What am I missing?
THANKS!
David G.