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, PRE-WRITE, POST-WRITE, DELETE, PRE-DELETE or POST-DELETE (see CREATE-TRIGGER). * specifies all triggers.

Note that the keywords WRITE and DELETE are synonyms for PRE-WRITE and PRE-DELETE respectively,

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.

Go to top button