Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access97 Form

Status
Not open for further replies.

vr

Programmer
Oct 14, 1999
54
US
I have a tab control form with 5 tabs.<br>
<br>
Tab 1-3 datasource = main table<br>
Tab 4-5 datasource = second table<br>
<br>
I need to know how/where to write code for the following:<br>
<br>
If field 4 on main table = &quot;01&quot; and tab 4 is clicked, automatically open tab 5 instead of 4. <br>
<br>
Can anyone help?<br>
<br>

 
Slightly different approach, you can write code in the form's OnOpen event and Field4's OnUpdate event to control whether tab 4 or tab5 is visible (tabFour.Visible=Yes). Less confusing for the user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top