![]() |
|
#1
|
|||
|
|||
|
I recently viewed an Access form that utilized a calendar control that I would like to replicate on my form. Specifically, when clicking inside a date field on the form a calendar popped up in which a date could be then be selected. The date field would then be automatically filled in with the selected date. Then, when clicking outside the date field the calendar automatically disappears.
When I click the 'More controls' button on the form toolbar I select the calendar control (Control 11.0). The calendar appears as it should and I place it where I want it next to the appropriate date field. Then I open the calendar properties, go to Control Source, and bind it to the date/time field I want to associate the calendar with. This works fine and I can enter the date. Here is the issue I am trying to resolve. When in form view how do I make the calendar appear ONLY when I click inside the date field, and then disappear when I click outside the field after selecting the date? I don't want the calendar to always show on the form. Thanks for anyone's assistance. |