Previous Topic: %ForEachAtt()Next Topic: %ForEachChildRel()


%ForEachAttribute()

Expands the macro code for each of the attributes in the given entity.

Syntax

%ForEachAttribute() {

<macro code>

}

Syntax Example

%ForEachAttribute() {

%AttFieldName

}

Expansion

renting_customer

master_number

movie_copy_number

rental_record_date

rental_date

due_date

rental_status

payment_amount

payment_date

payment_status

overdue_charge

Full Syntax

%ForEachAttribute(<table>,<separator>,<sort order>) {

<macro code>

}

Full Syntax Example

%ForEachAttribute(Parent, ", ") {%AttFieldName}

Expansion

master_number, movie_copy_number, general_condition

Usage

Classified as an Entity macro that you can use to create a Trigger Override in the Table Trigger Editor (Triggers dialog). An entity must be in scope; <table> can be Parent or Child (if a relationship is in scope), or empty. <separator> is optional.