When we give training courses, we always have to point out that "when user exits form" property of a form really means "when user saves form". This is a very misleading statement for newbies as it implies the code will be executed on a Cancel as well as a Submit, which is not true.