Missing field on insert

on a master-detail form (detail), I am trying to insert. I am in debug mode and can see that the insert statement is missing the key field.
It is in the SQL list and in the field list but it is not in SQL insert statement
Any ideas why?