Option group triggers tab

  • Thread starter Thread starter Annemarie
  • Start date Start date
A

Annemarie

I have an option group in a form as well as multi-tabs. Is there any
way to force a certain tab to display based on the selection in the
option group?

I don't know if this is too much wishful thinking or not....final
attempt...

Thanks
 
Annemarie said:
I have an option group in a form as well as multi-tabs. Is there any
way to force a certain tab to display based on the selection in the
option group?

I don't know if this is too much wishful thinking or not....final
attempt...

Thanks

Me!TabControlName.Value = Me!OptionFrameName

The above assumes that you want the first page shown when the Option Group
value is set to ZERO. If your OptionGroup frame values begin with (1) then
you will need to subtract one since the page index values for the TabControl
start at ZERO.

Me!TabControlName.Value = Me!OptionFrameName - 1
 
Back
Top