My form has several items that require sizes (located in the combo box pulling from a query) and an associated four digit code (located in an autofill box to the right of it). When I select the combo box the drop down menu shows every item on the list that requires a size selection, i.e. when I am selecting the combo box for Belt - it shows the sizes for not only the belt but for the helmets, the pants, shoes, etc.
MY PROBLEM: I am wanting each combo box to show those items ONLY relating to that specific item, i.e. cbobelt showing only the two sizes from the list; cbohelmet showing only the five size from the list - AND not showing the other items in the list. My research has pulled information about using the following line:
Private cbobelt_Click()
Me.Filter ="cbobelt like 'belt*'"
End Sub
BUT, alas I cannot get this to work either. Anyone that could help in this small issue would be greatly appreciated. Thanks ahead of itme.
MY PROBLEM: I am wanting each combo box to show those items ONLY relating to that specific item, i.e. cbobelt showing only the two sizes from the list; cbohelmet showing only the five size from the list - AND not showing the other items in the list. My research has pulled information about using the following line:
Private cbobelt_Click()
Me.Filter ="cbobelt like 'belt*'"
End Sub
BUT, alas I cannot get this to work either. Anyone that could help in this small issue would be greatly appreciated. Thanks ahead of itme.