Executes after a new record is initialized, but before users can make entries.
(Boolean) This return value indicates whether the new record was inserted after the last record in the table (xRec). If false, the record was inserted between an existing record and the last record. If true, the record was inserted below the last record in the table (xRec).
Use this trigger to initialize a new record or other variables on the form.
If an error occurs in the trigger code, the form is closed.