J
johnlute
This one has me stumped and I hope someone has a stump puller to help
me out! I have an AfterUpdate event in a combobox control of a subform
in datasheet view. The event returns a type mismatch error and the
debugger points to the line that I have inside the ><.
If MsgBox("You can't assigned an allergen to this item! " & _
"Allergens can be assigned to RM and PK class items only.
", vbOKOnly + _
vbQuestion) = vbOK Then
Cancel = True
Me.cbAllergen.Undo
End If
End If
Is it because I'm not listing the subform? I tried throwing it in
there but it didn't resolve things.
As always any help is greatly appreciated!
me out! I have an AfterUpdate event in a combobox control of a subform
in datasheet view. The event returns a type mismatch error and the
debugger points to the line that I have inside the ><.
BeepIf (Forms![Marzetti Main Menu].Form![Class] = "MZ" Or "RD") Then<
If MsgBox("You can't assigned an allergen to this item! " & _
"Allergens can be assigned to RM and PK class items only.
", vbOKOnly + _
vbQuestion) = vbOK Then
Cancel = True
Me.cbAllergen.Undo
End If
End If
Is it because I'm not listing the subform? I tried throwing it in
there but it didn't resolve things.
As always any help is greatly appreciated!