Framework EDI Reference. Methods and Properties
ediDocument. Save

Saves the EDI document to an external file.

Syntax:

Parameters:

Returns

Returns 1 if the operation is successful; otherwise the operation returns zero.

Remarks

The Save() method can be called multiple times to save the document into multiple files.  However, if the forward-write cursor type is enabled, and if the document has been modified, the document has to be re-loaded or re-created before the changes in the file can be saved.  But, in dynamic cursor type, the document can be modified without having to re-load or re-create the document to save the changes.

Example

Dim oEdiDoc As Fredi.ediDocument
Set oEdiDoc = New Fredi.ediDocument
:
oEdiDoc.Save sEdiFile