Previous Topic: %ForEachColumn()

Next Topic: %ForEachIndex()

%ForEachEntity()

Loops through all the tables in the current subject area, and evaluates the macro code between the braces.

Note: This macro is a legacy macro. Depending on your model type, we recommend that you use either %ForEachTable() or %ForEachLogEntity for new models. For more information on legacy macros and their related new macros, see the topic "Legacy macros."

Syntax

%ForEachEntity([<table name>]) {

}

Syntax Example

%ForEachEntity() {

%TableName

}

Expansion

MOVIE_COPY

MOVIE_RENTAL_RECOR

Usage

Classified as an Entity macro that you can use in the Table Trigger Editor (Triggers dialog).