Hello,
I'm new to the forum, and an intermediate Access user. I really would appreciate any help!
I have created a form with multiple combo boxes. The user selects a value from the first combo box. The result of this choice changes the selection of the second combo box. Here is my After_Update code:
Private Sub Combo20_AfterUpdate()
Me.Combo16.SetFocus
Me.Combo16 = ""
Select Case Combo20
Case "Driver"
Me.Combo16.RowSource = "DriverHeadTestQ"
Case "Irons"
Me.Combo16.RowSource = "IronHeadTestQ"
End Select
Combo16.Dropdown
End Sub
This works great - allows me to control the combo box list based on the selection in the first.
Now, I want to add another (third) combo box that does the same thing - changes the values based on the selection of the first combo box. How do I do this? Do I add additional commands to the above or do I need to add a separate event for the new (third) combo box?
Hope this make's sense, and Thanks!
I'm new to the forum, and an intermediate Access user. I really would appreciate any help!
I have created a form with multiple combo boxes. The user selects a value from the first combo box. The result of this choice changes the selection of the second combo box. Here is my After_Update code:
Private Sub Combo20_AfterUpdate()
Me.Combo16.SetFocus
Me.Combo16 = ""
Select Case Combo20
Case "Driver"
Me.Combo16.RowSource = "DriverHeadTestQ"
Case "Irons"
Me.Combo16.RowSource = "IronHeadTestQ"
End Select
Combo16.Dropdown
End Sub
This works great - allows me to control the combo box list based on the selection in the first.
Now, I want to add another (third) combo box that does the same thing - changes the values based on the selection of the first combo box. How do I do this? Do I add additional commands to the above or do I need to add a separate event for the new (third) combo box?
Hope this make's sense, and Thanks!