OnNewRecord Trigger

Executes after a new record is initialized, but before users can make entries.


Return Value

  • BelowxRec
    (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).

Applies To

  • Forms

  • Pages


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.

See Also