Deleting - BaseData_Set

Hook for performing operations when deleting a record

Type: Event

Parameters: None

Syntax
Procedure Deleting 

Description

Deleting is called during the delete process. It gets sent before the Backout message.

Procedure Deleting
    Forward send Deleting
    Send LogDeletedRecord 
End_Procedure


This message is always called in a locked state. Do not perform user input in this event.

If an Error is declared, the transaction will be rolled back. Errors must be generated using the Error command. See Handling in Transactions for more information.

When accessing table values you should always access the global file buffers and not the DDO buffers (i.e., use "Move File.Field to var" syntax). See Understanding File Buffers and DDO Field Buffers for more information.

See Also

When to Use the File-Buffer | Defining Data Dictionary Events | Backout | Creating | Update