OnDeleteRecord Trigger

Runs before a record is deleted from the table.

Syntax

trigger OnDeleteRecord(): Ok
begin
    ...
end;

Return Value

Ok

(Boolean) If true, the record is deleted. If false, the record is not deleted. This value is checked after each call.

Applies To

  • Pages

Remarks

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.

See Also

Triggers
Page and Action Triggers
Page Properties