Triggers watch for events and then respond to those events. This section will introduce you to the five different types of object triggers supported by Dexterity. You will learn what they do, how to register them, and some considerations for using them. At the end of this section, you will register a form trigger on the RM_Customer_Maintenance form to open your Customer Contact Maintenance window.
Triggers can help you do the following:
Add functionality where source code already exists
Change functionality where source code already exists
Make changes to the same form another developer has modified
Avoid creating alternate forms so that you do not have to recreate them with each new release
Dexterity supports the following five types of object triggers:
Form
Focus
Database
Procedure
Function
You can attach a trigger anywhere you can attach sanScript code. You can monitor events such as opening a form, deleting a record, or calling a procedure.
Before you can use a trigger, you have to register...