I am creating a combo box that selects its list based on input from another combo box. I have done this several times before, but I am getting a "Missing Operant" error message and am not having any luck trying to get it fixed.
Here is my code:
Private Sub Combo60_AfterUpdate()
Me.Combo62.RowSource = "Select [Project],[ProSubCat] from [ProjectSubCategories] Where [Project]=" & Me.Combo60
Me.Combo62.Requery
End Sub
All of these are "text" in case that makes a difference.
Any help would be appreciated and Thanks
Here is my code:
Private Sub Combo60_AfterUpdate()
Me.Combo62.RowSource = "Select [Project],[ProSubCat] from [ProjectSubCategories] Where [Project]=" & Me.Combo60
Me.Combo62.Requery
End Sub
All of these are "text" in case that makes a difference.
Any help would be appreciated and Thanks