Open a particular Tab from the on_open of form

  • Thread starter Thread starter steveinbeloit
  • Start date Start date
S

steveinbeloit

Hi, I have a form with a tab control with lots of tabs. In the on_load of
the form, based on where the user came from, I want to be able to tell which
tab is "open" when the form is drawn.
Any idea?
Thanks,
Steve
 
You can set focus to a particular tab by its actual tab name.

[Forms]![MainFormName]![tabName].SetFocus
 
Thanks! Worked great. I was off on the wrong track thinking I had to refer
to the tabs index.
Steve
You can set focus to a particular tab by its actual tab name.

[Forms]![MainFormName]![tabName].SetFocus
Hi, I have a form with a tab control with lots of tabs. In the on_load of
the form, based on where the user came from, I want to be able to tell which
tab is "open" when the form is drawn.
Any idea?
Thanks,
Steve
 

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