Delete_Main_File - BaseData_Set

Performs the actual delete of the record

Type: Event

Parameters: None

Syntax
Procedure Delete_Main_File 

Description

The Delete_Main_File event performs the actual delete of the record. Delete_Main_File is intended for augmentation.

Normally, you will always want to forward-send this message. If the message is not forwarded, the delete to the database will not occur.

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

Defining Data Dictionary Events