Rx_
Nothing In Moderation
- Local time
- Today, 09:25
- Joined
- Oct 22, 2009
- Messages
- 2,803
User Interface question:
A Textbox for a Date with the date picker enabled is a required field on a form.
When a new record is created, the user can click on the textbox, choose a date from the calender date picker.
The date fills in the textbox. But, the date picker stays visible.
Problem: None of the events (change, update...) on the textbox with the date execute. In debug mode, the textbox still shows a value of null.
If the user Tabs from the Date Submitted, no problem, the calender datepicker goes away, the textbox updates and vba code can move the focus to the next control, sets the blnEditMode to False and more.
If the user picks a date with the mouse, the date picker remains visible and without vba validating there is a date entered... the user can not click on the next textbox. All textbox are disabled until the required date is validated. That is, until the calendar control is completed... the validation events can not take place.
A Textbox for a Date with the date picker enabled is a required field on a form.
When a new record is created, the user can click on the textbox, choose a date from the calender date picker.
The date fills in the textbox. But, the date picker stays visible.
Problem: None of the events (change, update...) on the textbox with the date execute. In debug mode, the textbox still shows a value of null.
If the user Tabs from the Date Submitted, no problem, the calender datepicker goes away, the textbox updates and vba code can move the focus to the next control, sets the blnEditMode to False and more.
If the user picks a date with the mouse, the date picker remains visible and without vba validating there is a date entered... the user can not click on the next textbox. All textbox are disabled until the required date is validated. That is, until the calendar control is completed... the validation events can not take place.