After some code of mine runs from a command button on a form, the focus is
automatically set to the 6th of 32 textboxes in a subform on the form. I
don't select it in my code, the form just seems to do it on its own. It's not
a deal-breaker, but it is baffling and annoying. Any explanation would be
appreciated. I've tried selecting a textbox on the main form as the last line
of code in the procedure, to no avail. Even if that had worked, I'd like to
understand how such a strange thing is happening. Why the 6th box and not the
23rd or the 1st? Odd!
Thanks,
Bill R

Signature
Bill Reed
"If you can't laugh at yourself, laugh at somebody else"
Jeff C - 22 Jun 2006 20:00 GMT
In design mode on the view menu open up the tab order and see if your problem
sits in there

Signature
Jeff C
Live Well .. Be Happy In All You Do
> After some code of mine runs from a command button on a form, the focus is
> automatically set to the 6th of 32 textboxes in a subform on the form. I
[quoted text clipped - 8 lines]
>
> Bill R