Returns the first data segment of the document.
Syntax:
Returns
Returns an object of type FREDI.ediDataSegment if successful; otherwise it returns Empty if the call fails, or if the EDI document is empty.
Example
:
Set oSegment = oEdiDoc.FirstDataSegment
While Not oSegment Is Nothing
:
Set oSegment = oEdiDoc.NextDataSegment
:
Wend