probably a simple question.. but it's giving me headache.
I'v a form with two controls.
date
Calendar2 (an activeX control : MSCAL.Calendar.7)
The control source of the calendar set to date
the date control source set to date too..
If I click on a day in the Calendar, I want to see the change in date.
And I can't get the stupid thing to do so.
For the Calendar control I have the event :
OnUpdate
There I placed the code :
date = Calendar.Value
Me.Refresh
but it's not working. no matter what I click.. the date doesn't show updated until I click outside of the calendar control (place the focus on another control)
How can I change that ? I think it has to do with events.. but I can't figure it out.
I'v a form with two controls.
date
Calendar2 (an activeX control : MSCAL.Calendar.7)
The control source of the calendar set to date
the date control source set to date too..
If I click on a day in the Calendar, I want to see the change in date.
And I can't get the stupid thing to do so.
For the Calendar control I have the event :
OnUpdate
There I placed the code :
date = Calendar.Value
Me.Refresh
but it's not working. no matter what I click.. the date doesn't show updated until I click outside of the calendar control (place the focus on another control)
How can I change that ? I think it has to do with events.. but I can't figure it out.