Hello, Gerard
Besides what Sergey and Jim said to you (and they're right), there is a way to set focus from the Valid event. If the valid event returns a numeric value, the focus is set to the corresponding control, respecting the Tab order. For example, if the Valid event returns 0, the control won't lose focus. If Valid returs 2, the focus will skip the next control and will choose the second control. If Valid retuns -1, the previous control will be selected.
Just remember the focus is set after finishing the Valid event. More specifically, the last line of code, which will be RETURN yournumber.
Hope this helps
Grigore Dolghin
Class Software.