How can I make a sub-form field not appear to have the focus?

I have a main form with a sub-form which is a continuous form.  When the main form opens, the sub-form's first record appears to get the focus and I don't want any of the records in the sub-form to get the focus.  I do have the tab order established on the main form.  And in the sub-form, I have the field that is getting the focus set to tab stop = no.

How can I make the sub-form field not appear to have the focus?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gustav BrockCIOCommented:
If I open a form with a subform, nothing on the subform has focus until I select something (scrollbar) on the subform control.

So somehow you have code or something that may cause the focus of the subform to be activated.
SteveL13Author Commented:
I even set the sub-form to tab stop = no.  ???
Gustav BrockCIOCommented:
Can't tell.
As soon as I move to the next record on the main form, focus is lost in the subform.
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
If the sub-form is the only control on the main form, that's what you'd end up with.

 The tab stop property only controls things when you use the Tab key.   As long as controls are enabled, they can still get the focus.

 One way around this would be to place a 0" width control in either the main form or in the subform and let it have the focus.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.