I was looking for a solution to enable a popup calendar for two date fields on a form. I found this... http://www.fontstuff.com/access/acctut09.htm
It seems quite good to me and I have a solution working using the suggestion in the article. Essentially, the calendar becomes visible when either of the date field's combo dropdown controls are clicked. Entering a date in the calendar and then clicking anywhere in the calendar causes the data to be written to the originating date field. It also causes the calendar control to becoming invisible. This is all fine but when the calendar control becomes visible, if you click somewhere else on the form like in another field, the calendar then remains visible (until a date is entered). What I want is for the calendar to disappear if you click anywhere else on the form. Can someone suggest a way of doing this?
Thanks,
Zarty
It seems quite good to me and I have a solution working using the suggestion in the article. Essentially, the calendar becomes visible when either of the date field's combo dropdown controls are clicked. Entering a date in the calendar and then clicking anywhere in the calendar causes the data to be written to the originating date field. It also causes the calendar control to becoming invisible. This is all fine but when the calendar control becomes visible, if you click somewhere else on the form like in another field, the calendar then remains visible (until a date is entered). What I want is for the calendar to disappear if you click anywhere else on the form. Can someone suggest a way of doing this?
Thanks,
Zarty