Framework EDI Reference. Methods and Properties
ediDataSegment. LoopRepeat

Returns the number of times the segment group of the data segment can repeat.

Syntax:

Remarks

The loop repeat value exists only in data segments that are loop triggers, which are data segments that are in the beginning of the group.  For example, the N1 segment in the N1 loop will have a Loop Repeat count, but the N2 segment (and all other data segments) in the same loop will not have a Repeat Count (or have a Loop Repeat count of 0).

 

Sample

Visual Basic program displaying Data Segment properties