Runs before a record is deleted from the table.
trigger OnDeleteRecord(): Ok begin ... end;
(Boolean) If true, the record is deleted. If false, the record is not deleted. This value is checked after each call.
The action is canceled but the page is not closed if an error occurs in the trigger code. You can use this trigger to write to the database.