G
Guest
I have a combo box with the following code:
Private Sub BucketCmb_BeforeUpdate(Cancel As Integer)
Me.refNoSet.Value = Me.BucketCmb.Column(1)
End Sub
My problem is that the table data field that my control box is displaying is
not a primary key and can contain duplicates. So, I need a user to be able
to type a value that is currently listed in the combo box that needs to be
the start of a new record and without setting Me.refNoSet.Value =
Me.BucketCmb.Column(1) set. Is there a way to do this? Thanks.
Private Sub BucketCmb_BeforeUpdate(Cancel As Integer)
Me.refNoSet.Value = Me.BucketCmb.Column(1)
End Sub
My problem is that the table data field that my control box is displaying is
not a primary key and can contain duplicates. So, I need a user to be able
to type a value that is currently listed in the combo box that needs to be
the start of a new record and without setting Me.refNoSet.Value =
Me.BucketCmb.Column(1) set. Is there a way to do this? Thanks.