Trigger_Enable()

Examples


The Trigger_Enable() function enables or disables all object triggers for a given application.

Syntax

Trigger_Enable(product_ID, flag)

Parameters

product_ID – An integer specifying the product ID of the application whose triggers you’re disabling or enabling.

flag – A boolean that enables or disables triggers. Values are:

[spacer]

Value

Description

true

Triggers are enabled for the specified product.

false

Triggers are disabled for the specified product.


Return value

A boolean indicating the result; true if the function succeeded, false if it didn’t succeed.

Comments

You can use this function or the Customization Status window to disable all triggers for a given application. Use the Trigger_DisableSingle() and Trigger_EnableSingle() functions to disable and enable individual triggers.


Documentation Feedback