ForEachRow: Boolean;
The ForEachRow property determines whether the trigger is executed for each table row. True if the trigger is executed for each row.
Sub Main;
Var
MB: IMetabase;
Object: IMetabaseObject;
Table: ITable;
Triggers: ITableTriggers;
Trigger: ITableTrigger;
Begin
MB:=MetabaseClass.Active;
Object:=MB.ItemById("TABLE_1").Edit;
Table:=Object As ITable;
Triggers:=Table.Triggers;
Trigger:=Triggers.Item(0);
Trigger.ForEachRow:=True;
Object.Save;
End Sub Main;
After executing the example, the indicator of execution for each row is set to the first table trigger. The table identifier is Table_1.
See also: