Runs before a new record is inserted into the table.
trigger OnInsertRecord(BelowxRec): Ok begin ... end;
(Boolean) This return value indicates whether the new record is to be inserted after the last record in the table (xRec) or not. If false, the record is to be inserted between an existing record and the last record. If true, the record is to be inserted below the last record in the table (xRec).
(Boolean) Determines whether to insert a new record. The return value is checked after each call. If true, the record is inserted. If false, the record is not inserted.
If an error occurs in the trigger code, the action is canceled, but the page is not closed. The user cannot enter any new data and an error is shown in the message bar.