Activating a Trigger Function

To associate a data dictionary field or a file to a trigger function it is necessary to take either the "Review, change or create field rules and triggers" from the field control menu if the trigger is to be created at dictionary level, or the "Review or change file rules and triggers" if the trigger is to be created at the file level.

When the "Add a Trigger" option has been selected, the field must then be associated with a trigger function.

Information can then be entered which will specify when the trigger function is to be activated (for example, before an update of the field is carried out), and if the trigger function should only be activated under certain conditions. See Field Rules/Triggers for details on entering trigger information.