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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making access drop down menus disapear

Status
Not open for further replies.

slandeck

Programmer
Jul 13, 2001
5
US
Depending on which selection you choose from a drop down menu, how do you make another drop down menu on the same form disapear and re-appear?
 
Slandeck,
Very simple. In the afterupdate event of you main dropdown menu (your selection menu) you just type:
Code:
If MyDropDownMenu = "This String" then 'Set your condition
     Me.SecondaryMenu.Visible = False 'This will make it disappear
End If
This will take a condition and based on the value of the selection will make my SecondaryMenu Disappear. To make a menu appear just use
Code:
 Me.ThirtiaryMenu.Visible = True
Hope this helps
Scotty ::)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top