I have 9 unbound combo boxes on my form and I have 9 bound combo boxes. The purpose of the unbound combo boxes is to popup a list of choices for my staff to choose from. One of the 9 unbound combo boxes is a straight query to open the appropriate table. This combo box may be opened any number of times and any number of choices may be made.
I have the other 8 boxes coded as “On click “[Enter 4 digit code for siding location]”” on the table field query of the same table as the one i.e., 1st in order, combo box. When they make their choice 3 text fields are filled in on the table for each combo box. This is what I need to have happen. However, on 8 of the unbound combo boxes after staff has made a choice and the text boxes fill in they see that they have made the wrong choice. When this happens they click on the open arrow the “OnClick “[Enter 4 digit code for siding location]”” will not present the popup box. The field for the combo box just returns the initial choice.
My question is – How do I code the combo box “After Update”, if this is the way to go, to clear the data such that they can reopen the popup. I have tried the following code:
Private Sub Combo183_AfterUpdate()
Me.txtSpot1.Value = Me.Combo183.Column(1)
Me.txtSiding1.Value = Me.Combo183.Column(2)
txtCar1.SetFocus
DoCmd.Requery
End Sub
This does not work. It does popup a different popup labeled “Forms!myForm!myControl”. If I enter the code and say OK the [Enter 4 digit code ….] pops up but does not work. I am baffled. If I click on the combo box nothing happens except to open as blank. Please help.
See screen shots attached. The combo boxes down the right side are the trouble makers.