Previous Topic: Entity MacrosNext Topic: %Actions()


%Action

Returns the name of the action that causes the trigger to fire. Depending on the context of the command, %Action returns DELETE, INSERT, or UPDATE. For example, if the trigger was fired on a Delete action, %Action returns DELETE.

Syntax

%Action

Syntax Example

%Action

Expansion

DELETE

Usage

Classified as an Entity macro that you can use in the Table Trigger Editor (Triggers dialog), typically in the CREATE TRIGGER statement.