There may be reasons why it's not this simple but how about thisform.txtText1.Setfocus()
>I have a textbox on a form. It has focus. I want to enter a variable into this textbox programmatically, which is no problem, but then I cannot figure out how to store the identity of the textbox so I can give it back its focus.
***************************
Bruce Gilmour
"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein