Repeats a statement for each child-to-parent reference in the current table fulfilling a condition.
In a trigger for the table SALE, the following macro:
.FOREACH_PARENT("FKCANTCHG") -- Cannot modify parent code of "%PARENT%" in child "%CHILD%" .ENDFOR
generates the following trigger script:
-- Cannot modify parent code of "STORE" in child "SALE" -- Cannot modify parent code of "TITLE" in child "SALE"