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
 
Back
Top