Validation problem [RESOLVED]
Hello everyone,
I need a way to avoid that a clicked control gets the control, is there a way to do it ?
This is my case, I have a text box that the only valid values are the ones that exists in a data combo, but I need to give the control to the data combo when the value in the text box is incorrect and retain the control until the user select a correct value.
Right now I can do it when I manually run the textbox1_validate event (in the keyup event), but when the user uses tab key or mouse to move to another control, I can not trap the control in the data combo.
I am using the cancel variable in the validate event, but does not work because then I can not go to the data combo,
Thanks