Returns the count for the segment in an EDI file.
Syntax:
Returns
Returns a number that specifies the sequential occurrence of the data segment in a document. The first segment in the file has a segment count of 1.
Example:
Dim oEdiDoc As Fredi.ediDocument
Dim oSegment As Fredi.ediDataSegment
...
Set oSegment = oEdiDoc.FirstDataSegment
Do While Not oSegment Is Nothing
MsgBox oSegment.SegmentLineCount
Set oSegment = oSegment.Next
Loop