Hi again. Having a bit of trouble with a DLookUp on my form (frmMain_data)
I have a combo box (cmbType) which pulls it's result from a table (tblRadioTypes).
tblRadioTypes has the *ID, Type, and Model as the fields. I want to be able to select a radio in my combo box and have a text box auto-populate with the Model (which is a numerical value) from the table.
I got this far in the text box (txtType) which gives me #Error.....
I have a combo box (cmbType) which pulls it's result from a table (tblRadioTypes).
tblRadioTypes has the *ID, Type, and Model as the fields. I want to be able to select a radio in my combo box and have a text box auto-populate with the Model (which is a numerical value) from the table.
I got this far in the text box (txtType) which gives me #Error.....
Code:
=DLookUp("Model","tblRadioTypes","Type = " & Forms!frmMain_data!cmbType)