howcheat
asked on
(MS ACCESS 2K) tab control navigating from one tab to another
This should be simple, but it's killin me: I have a form (frmTabAll) with a tab control (TC) and 5 tabs (tabMenu,tabsub,tabAttend, tabGeneral and tabWell). I need for the application to open on tabMenu which will a button (button1). Onclick of button1, I need to go to tabSub which has button2 and onclick of button2 will go to tabAttend, etc.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW, to get to OnChange event of tab control, while in design view, select top right corner of thr tab control (not the tabs) to see this event on the property shee.
Mike
Mike
For whatever reason, if you are using bottons, in OnClick event of respective buttons use:
TC.Value=0 'for tabMenu
TC.Value=1 'for tabsub
TC.Value=2 'for tabAttend
TC.Value=3 'for tabGeneral
TC.Value=4 'for tabWell
Mike