Data.Loop..EndLoop
Top  Previous  Next


Loops through enclosed commands once for each row in the [Data] section and provides access to the [Data] section through variables

The Data.Loop..EndLoop statement is basically a "for each row in the [Data] section do this" structure in which commands that are to be executed once for each row in the [Data] section are inserted. Commands inside the structure have access to the [Data] section through variables containing the columns of the current row.

Data.Loop..EndLoop statements can not be nested.

Read about sections in general and the [Data] section in particular here.

Use Data.NextLoop to ignore rest of enclosed commands and proceed to next [Data] row.

If more than one data section is needed use xData.Loop..EndLoop.

Category
Data section

Script sections
[Batch], [Undo], [Init]