Odd behavior - textbox in a subform is automatically selected

  • Thread starter Thread starter ragtopcaddy via AccessMonster.com
  • Start date Start date
R

ragtopcaddy via AccessMonster.com

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

--
Bill Reed

"If you can't laugh at yourself, laugh at somebody else"

Message posted via AccessMonster.com
 
In design mode on the view menu open up the tab order and see if your problem
sits in there
 
Back
Top