Framework EDI Reference. Methods and Properties
ediDataSegment. GetInterchange

Gets the interchange that contains the data segment.

Syntax:

Returns

Returns an object of type FREDI.ediInterchange.

Example

...
Set oSegment = oEdiDoc.FirstDataSegment
Set oInterchange = oSegment.GetInterchange
nGrouptCount = oInterchange.GroupCount
...