Executed before a record is saved.
Forms
If there is an error in the trigger code, the form is closed.