SetFocus Question...

  • Thread starter Thread starter JustMe
  • Start date Start date
J

JustMe

Hi All

I have a form called MainFrom. When I open this form it has a subForm that I
use to lookup Customers. My problem is when I open this Main form it's focus
is to the center or the Detail section of the form. I need to First fill
some data in the Header section.
How do I set focus that when I open The form it First lets me enter the data
in the header part of the form?
I have looked at the Tab settings and it does not let me do anything but
change tab order of the fields, Not Sections.
Any Ideas?

Thanks
 
It sounds like you should be able to use the OnOpen event of the form, and
add code something like:

Me!txtYourHeaderTextBox.SetFocus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top