DELETE-TRIGGER

Deletes one or all of the trigger associations for a Reality file.

Syntax

DELETE-TRIGGER file-specifier [trigger-type * ]

Syntax elements

file-specifier is the name of the file with which the trigger is associated.

trigger-type

The type of trigger: WRITE or PRE-WRITE, POST-WRITE, DELETE or PRE-DELETE, POST-DELETE, READ or PRE-READ, POST-READ, CLEAR-FILE or PRE-CLEAR-FILE, POST-CLEAR-FILE, DELETE-FILE or PRE-DELETE-FILE, POST-DELETE-FILE.

Asterisk * specifies all triggers.

Note that many of the keywords have synonyms.

Note

DELETE-TRIGGERfile-specifier* will remove all triggers from a file. .

Restrictions

Requires SYS2 privileges.

Comments

The file specified may be a local file (dictionary or data section) or the master dictionary of an account. Triggers cannot be associated with Q-pointers.

Example

:DELETE-TRIGGER TF *
[1915] All triggers deleted from file 'TF'.

See also

CREATE-TRIGGER, LIST-TRIGGERS, LIST-ALL-TRIGGERS.