Previous Topic: %SetPK()

Next Topic: %VerbPhrase

%TriggerRelRI()

Boolean predicate that is TRUE if the given trigger and relationship are of the given action, RI type (child or parent), and integrity rule.

Syntax

%TriggerRelRI(<action>, <type>, <integrity>)

Syntax Example

%ForEachChildRel() {

%If(%TriggerRelRI(Update, Child, Cascade)) {%VerbPhrase Child Update Cascade}

}

Expansion

is rented under Child Update Cascade

Usage

<action> must be Insert, Delete, or Update

<type> must be Parent or Child

<integrity> must be Insert, Cascade, SetNull, or SetDefault

Classified as a Relationship macro that you can use in RI Override, Rel Override, %ForEachParentRel, %ForEachChildRel.