I have a table called 'Reasons' which has 3 columns of Data.
ID - Number - Reasons
I have a form that has data entered into it and this transfers onto a table (Complaints)
On my form I have a ComboBox which consists of all the Reasons from the Reason table.
I then have a text box that I wish to populate with the corresponding number of the reason. (EG: Duplication = Reason # 8)
So I have placed the following code in the OnChange field of the TextBox.
Code:
Private Sub Text36_Change()
RowSource "Select ID, Number, Reason From Reason"
Me.Text36 = Me.Combo39.Column(1)
End Sub
Why is it that when I place the Reason for the complaint on the form and then create a new record, the actual
reason number has placed itself in the Reason column and not the Reason # column in my main Table?
Any guidance/assistance would be greatly appreciated. Thank you in advance.