Previous Topic: %ForEachIndex()Next Topic: %ForEachKey()


%ForEachIndexMem()

Used within the scope of an index (for example, %ForEachIndex), this macro expands the macro code for all members of the index in the current subject area. <sequence> can be used to enter the assigned number of a specific index member. Defaults to all members.

Syntax

%ForEachIndexMem([<sequence>],[<separator>]) {

<macro code>

}

<sequence> - the number of a specific index member; default is all members.

<Separator> - string to be placed between the index's members.

Syntax Example

%ForEachIndex {

%ForEachIndexMem() {

%AttributeDatatype

}

}

Expansion

int

int

varchar(10)

Usage

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