Sets or gets the data element terminator used by the document.
Syntax:
Remarks
The ElementTerminator property specifies the string that separates the elements in a data segment.
- UN/EDIFACT – The element terminator must be explicitly specified before loading the EDI document, otherwise either the document will not be properly translated, or an error will be generated.
- ASC/X12 – The element terminator is automatically detected. However, if the auto-detect property is disabled then the delimiter must be specified, otherwise either the document will not be translated properly or an error will be generated.
Example
Set oEdiDoc = New Fredi.ediDocument
oEdiDoc.SegmentTerminator = "~" & vbCrLf
oEdiDoc.ElementTerminator = "*"
oEdiDoc.CompositeTerminator = ">"