Sets global variables to indicate that the current script is suppressing triggers.
Average rating: 4.5 (32 votes) Log in to vote
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
TriggersDisable sets global variables to indicate that the current script is suppressing triggers. This script must be called from the context of a script; otherwise, it will not suppress triggers, and it will return False. In order to be suppressed, a script called via trigger should use the TriggersAreActive function to decide whether or not to run.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.