Framework EDI Reference. Methods and Properties
ediDocument. GetEdiString

Gets the entire content of the EDI document in a string.

Syntax:

Remark

The GetEdiString method is only available for usage when the ediDocument.CursorType method is set to either Dynamic, or ForwardWrite.

Example:

Dim oEdiDoc As Fredi.ediDocument
Dim oSef As Fredi.ediSchema
Dim sEdi As String
Set oEdiDoc = New Fredi.ediDocument
oEdiDoc.LoadSchema "850.SEF", 0
oEdiDoc.LoadEDI "850.X12"
sEdi = oEdiDoc.GetEdiString