Create a trigger from an existing field
Print
- Last Updated: June 14, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
To create a field trigger from an existing field:
- Choose Schema Field Editor. The Field Editor alphabetically lists all the tables defined for your database.
- Select the table that contains the field for which you want to create the trigger. The Field Editor window appears.
- Choose Triggers.
-
Select the field for which you want to define the trigger. The Field
Triggers dialog box appears:

- Specify the name of the trigger procedure, then press PUT to enter the trigger code. The Trigger Editor appears.
- Specify whether a session trigger can override the schema trigger. For more information about session and schema triggers, see the topic on database triggers in Develop ABL Applications.
- Specify whether the database engine verifies the cyclical redundancy check (CRC) code.
-
Choose OK to create the trigger and
return to the Field Editor.
Note: To generate r-code for schema trigger definitions, you must define the trigger procedure in the Data Dictionary, then compile and save the r-code with the Application Compiler.