I have a form that when someone enters data that is not in a combobox (cmbLogNum) the NotInList event is used to open a new form (frmAddIncident). I want a text box (txtIncident) in the current form to be populated by the data from the combobox (cmbLogNum) on the first form (frmEdit).
I used the following code in the OnOpen event and OnLoad event. but it didn't work. I am sure it is something simple, but I can't figure it out.
Me.txtIncident = Forms!frmEdit!cmbLogNum.Column(0)
I also tried Me.txtIncident = Forms![frmEdit]!cmbLogNum.Column(0)
I attached the file.
Thanks in advance
I used the following code in the OnOpen event and OnLoad event. but it didn't work. I am sure it is something simple, but I can't figure it out.
Me.txtIncident = Forms!frmEdit!cmbLogNum.Column(0)
I also tried Me.txtIncident = Forms![frmEdit]!cmbLogNum.Column(0)
I attached the file.
Thanks in advance