Hi Peter, thank you for the explanations, you're right.. need to place the codes in Form_BeforeUpdate event. However is there a better option?
I still hope it can be displayed on the txtDaysLeave, right after the user finishes selecting the dates. So that the page does not need to turn away to...