Clear_Main_File - BaseData_Set

Performs clear command on main table of this object

Type: Event

Parameters: None

Syntax
Procedure Clear_Main_File 

Description

Clear_Main_File is sent whenever the buffer for the main table of a server must be cleared. It is intended to be overridden or augmented.

Sample

To force a manually related table (see Relate_Main_File) to be cleared when the main table is being cleared. Typically, the Request_Clear_File message should be used for this purpose to ensure the refresh of DEOs occurs properly.

Procedure Clear_Main_File
    Forward Send Clear_Main_File

    Send Request_Clear_File Manual1.File_Number
    Send Request_Clear_File Manual2.File_Number
End_Procedure

See Also

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