1:
Code = DLookup("[group code]", "[merchandise product groups]", "[group description] = '" & replace(id, "'", "''") & "'")