Thank you.
I am a little confused about:
Code:
If IsNull(DLookup("NameOfField", "tblAutofillProduct ", "NameOfField = '" & Me!cmbFoodInvolved.Text & "'")) Then
What am I entering for "NameofField" and "NameofField"?
I receive the following error:
Also, does it make a difference if I am typing
Code:
Me.txtIngredient = Me.cmbFoodInvolved.Column(1)
Me.txtCategory = Me.cmbFoodInvolved.Column(2)
Me.txtCharaceteristics = Me.cmbFoodInvolved.Column(3)
Me.txtOralDescription = Me.cmbFoodInvolved.Column(4)
Me.txtQuantity.SetFocus
Instead of
Code:
With Forms!frmNameOfYourForm
.txtIngredient = .cmbFoodInvolved.Column(1)
.txtCategory = .cmbFoodInvolved.Column(2)
.txtCharaceteristics = .cmbFoodInvolved.Column(3)
.txtOralDescription = .cmbFoodInvolved.Column(4)
.txtQuantity.SetFocus
End With