Im having a problem calling up the 4th column from a combo box to auto populate the field. Any restrictions, it is a date field as I can get text into the box?
Here is the code added to the event on change of the SQL combo box:
Private Sub Combo106_Change()
Me.FName.Value = Me.Combo106.Column(2)
Me.LName.Value = Me.Combo106.Column(1)
Me.TxtHICN.Value = Me.Combo106.Column(3)
Me.txtDate.Value = Me.Combo106.Column(4)
End Sub
Any help would be great.
Here is the code added to the event on change of the SQL combo box:
Private Sub Combo106_Change()
Me.FName.Value = Me.Combo106.Column(2)
Me.LName.Value = Me.Combo106.Column(1)
Me.TxtHICN.Value = Me.Combo106.Column(3)
Me.txtDate.Value = Me.Combo106.Column(4)
End Sub
Any help would be great.