Framework EDI Reference. Methods and Properties
ediAcknowledgment. SegmentTerminator

Sets or returns the segment terminator used by the acknowledgment.

Syntax:

Remarks

The segment terminator does not have to be set because the segment terminator used by an interchange in the subject document is used by the corresponding interchange in the acknowledgment document.  If the terminator is explicitly set, then the segment terminator will be used for all the interchange(s) in the acknowledgment.

Example

Set oEdiDoc = New Fredi.ediDocument
Set oAck = oEdiDoc.GetAcknowledgment

oAck.SegmentTerminator = "~"
oAck.CompositeTerminator = ">"
oAck.DecimalNotation = "."
oAck.ElementTerminator = "*"
oAck.RepeatSeparator = ":"

oAck.EnableFunctionalAcknowledgment = True
oAck.EnableInterchangeAcknowledgment = True

oEdiDoc.LoadSchema sPath & "850.SEF", 0
oEdiDoc.LoadEdi sPath & sEdiFile