Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : DISABLE-LOAD-TRIGGERS( ) method
 

DISABLE-LOAD-TRIGGERS( ) method

Allows you to create or update a buffer object's table without executing update triggers such as CREATE, WRITE, DELETE or ASSIGN.
Return type: LOGICAL
Applies to: Buffer object handle

Syntax

DISABLE-LOAD-TRIGGERS ( allow-replication )
allow-replication
A LOGICAL expression indicating whether to disable or allow replication triggers. When TRUE, replication triggers are allowed to run, including the DELETE trigger. When FALSE, all triggers are disabled.
To run this method, you must have CAN-LOAD privileges for the table.
Triggers cannot be loaded from a persistent procedure.
The triggers remain disabled until the procedure in which it is disabled returns.
Note: The Disable Delete Trigger (-disabledeltrig) startup parameter disables the DELETE trigger when ALLOW-REPLICATION is on for the DISABLE TRIGGERS statement or the DISABLE-LOAD-TRIGGER() buffer method. For more information about this parameter, see OpenEdge Deployment: Startup Command and Parameter Reference.

See also

DISABLE TRIGGERS statement