I cannot figure out why this does not work. I get a type mismatch error (13).
DoCmd.OpenForm "frmAddNewVouchertoStudent", acNormal, , ("id = " & lngParentId) And (BooAssign = True)
When I do a watch the BooAssign variable is True. The Id variable works great alone but when I add the "and...