Framework EDI Reference. Methods and Properties
ediDocument. InterchangeCount

Returns the number of Interchanges in the document.

Syntax:

Returns

Returns a number of the count of interchanges in the document.

Remarks

This counts the number of top level interchanges in the document. If interconnect mailbags exist, then the interchanges in other interconnect mailbags are not counted.

Example

    oEdiDoc.LoadEdi "INVOIC.TXT"
    nInterchangeCount = oEdiDoc.InterchangeCount