G
Guest
I thought I had the answer, but I was wrong.
Can anyone tell me why this doesn't work?
Private Sub Combo317_AfterUpdate()
On Error Resume Next
Select Case Combo317.Value
Case "Canso"
Combo319.RowSource = "tblProdCanso"
Case "Laguna"
Combo319.RowSource = "tblProdLaguna"
Case "Richmond"
Combo319.RowSource = "tblProdRichmond"
Case "Sysco"
Combo319.RowSource = "tblProdSysco"
End Select
End Sub
It's supposed to base the product selection available in combo box 319 on
the manufacturer chosen in combo box 317.
Can anyone tell me why this doesn't work?
Private Sub Combo317_AfterUpdate()
On Error Resume Next
Select Case Combo317.Value
Case "Canso"
Combo319.RowSource = "tblProdCanso"
Case "Laguna"
Combo319.RowSource = "tblProdLaguna"
Case "Richmond"
Combo319.RowSource = "tblProdRichmond"
Case "Sysco"
Combo319.RowSource = "tblProdSysco"
End Select
End Sub
It's supposed to base the product selection available in combo box 319 on
the manufacturer chosen in combo box 317.