Skip to content

Events for DataDictionary

View event list in hierarchical order.

Name Description Defining Class
Attach_Main_File Performs attach command on main file Attach_Main_File performs an attach. BaseData_Set
Backout Hook for performing operations when editing or deleting a new record The Update and Backout events are used to maintain relational balances between tables. BaseData_Set
Clear_Main_File Performs clear command on main table of this object Clear_Main_File is sent whenever the buffer for the main table of a server must be cleared. BaseData_Set
Construct_Object Object constructor. cObject
Creating Hook for performing operations required when creating a new record Creating is called as part of the save process and is called when a new record is about to be saved. BaseData_Set
Define_Fields Defines DataDictionary rules for data file fields at the class level Obsolete Prior to DataFlex version 14.1, the Define_Fields was the event that defined the rules for your data dictionary. DataDictionary
Delete_Main_File Performs the actual delete of the record The Delete_Main_File event performs the actual delete of the record. BaseData_Set
Deleting Hook for performing operations when deleting a record Deleting is called during the delete process. BaseData_Set
Destroy_Object Sent when an object is about to be destroyed The Destroy_Object event is sent to an object when it is about to be destroyed. cObject
End_Construct_Object End of object constructor. cObject
Field_Defaults Hook to specify default values for table columns that will appear after a clear (new record) operation DataDictionary
New_Current_Record Hook for performing operations during save, delete, and clear operations Obsolete This event is obsolete. DataDictionary
OnConstrain Defines constraint sets in a DataDictionary object (DDO) OnConstrain defines constraint sets in a DataDictionary object (DDO). DataSet
OnNewCurrentRecord Notification event that is sent every time the DDO's record is switched DataDictionary
OnPostFind The messages OnPreFind and OnPostFind are sent before a find and after a find, respectively DataDictionary
OnPreFind The messages OnPreFind and OnPostFind are sent before a find and after a find, respectively DataDictionary
OnSaveRecord Called any time a DD record is saved, if there is an actual change to be saved OnSaveRecord is called any time a DD record is saved. DataDictionary
Relate_Main_File Does nothing by default. BaseData_Set
Reset_Filemodes_For_Lock Temporarily resets the file modes of the Main_File of this object and of any updated DataDictionary objects for a save/delete operation BaseData_Set
Save_Main_File Saves the main file Save_Main_File saves the main file. BaseData_Set
Update Hook for performing operations when saving a record The Update and Backout events are used to maintain relational balances between tables. BaseData_Set
Validate_Cascade_Delete Validation event sent to every single child record that is about to be deleted during a cascading delete operation BaseData_Set
Validate_Delete Guards execution of delete operation The Validate_Delete function is called right before a delete will occur. BaseData_Set
Validate_Delete_No_Cascade Guards against deleting records with existing child records The Validate_Delete_No_Cascade event guards against deleting records with existing child records. BaseData_Set
Validate_Save Used to enforce business rules and integrity rules Validate_Save is used as final validation of a record before saving it. BaseData_Set