Brian Dunning's FileMaker Custom Functions

TriggersEnable

Sets global variables to indicate that the current script is no longer suppressing triggers

  Average rating: 4.4 (37 votes) Log in to vote

Jeremy Bante   Jeremy Bante

https://github.com/jbante/

Share on Facebook Share on Twitter

  Sample input:
TriggersEnable
  Sample output:
1 //True, meaning that the current script is no longer suppressing triggers

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

TriggersEnable sets global variables to indicate that the current script is no longer suppressing triggers. This function will also turn off trigger suppression altogether if there are no other scripts suppressing triggers. In order to be suppressed, a script called via trigger should use the TriggersAreActive function to decide whether or not to run.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: