I have a combobox on a form in Access 2010. My problem is that when I use the combobox and save the record, it generates a duplicate of the option chosen. This is cluttering my table and repeating information that is already documented. The only code associated with the combobox is:
Private Sub LocationNum_Change()
Me.ShipAdress.Value = Me.LocationNum.Column(2)
Me.PlantName.Value = Me.LocationNum.Column(1)
End Sub
This code simply populates two related fields on the form with the correct corresponding data. I don't understand why it is doing this. How can I stop it from generating duplicate data? I appreciate the help in advance
Private Sub LocationNum_Change()
Me.ShipAdress.Value = Me.LocationNum.Column(2)
Me.PlantName.Value = Me.LocationNum.Column(1)
End Sub
This code simply populates two related fields on the form with the correct corresponding data. I don't understand why it is doing this. How can I stop it from generating duplicate data? I appreciate the help in advance