Hi,
I have a date entry field that I need to fire an action once the field is completed. I was using a Form.AfterUpdate event to do this, but my end users reported it wasn't working...
Private Sub FormProjectCode_AfterUpdate()
after looking here : https://msdn.microsoft.com/en-us/library/office/ff822097.aspx
It states that "The AfterUpdate event is triggered when a control or record is updated. Within a record, changed data in each control is updated when the control loses the focus or when the user presses ENTER or TAB."
My end user prefers to navigate by mouse clicking on the next field rather than tabbing (go figure). How can I capture leaving this field when it is complete, regardless of how the user leaves ?
OnChange/OnDirty/LostFocus ?
Which is the best practice in this situation ?
I have a date entry field that I need to fire an action once the field is completed. I was using a Form.AfterUpdate event to do this, but my end users reported it wasn't working...
Private Sub FormProjectCode_AfterUpdate()
after looking here : https://msdn.microsoft.com/en-us/library/office/ff822097.aspx
It states that "The AfterUpdate event is triggered when a control or record is updated. Within a record, changed data in each control is updated when the control loses the focus or when the user presses ENTER or TAB."
My end user prefers to navigate by mouse clicking on the next field rather than tabbing (go figure). How can I capture leaving this field when it is complete, regardless of how the user leaves ?
OnChange/OnDirty/LostFocus ?
Which is the best practice in this situation ?