For more information, see Trigger Event Macros. The syntax for the trigger clause is:
For example, to assign a check trigger called OnApprove, you would use:
In this example, the name of the program to execute is OnApprove. You can define arguments to be passed into the program. For example:
In this example, the argument passed into the OnApprove program is ChngChk. When you pass arguments into the program they are referenced by variables within the program. Variables 0, 1, 2… and so on. are reserved by the system for passing in arguments. Environment variable “0” always holds the program name and is set automatically by the system. Arguments following the program name are set in environment variables “1”, “2”,… and so on. |