Hi,

For example, I have a Text1_Validate sub to valid the customerID.
When I click on the new button and click on cancel button, the program will keep prompting to enter a vaild value continously.

Is it possible to set the validate sub to false when the cancel_click is activated?