Framework EDI Reference. Methods and Properties
ediDataSegment. Refresh

Refreshes the state information of the data segment.

Syntax:

Returns:

Returns one (1) if the operation is successful; Zero (0) if it failed.

Remarks

This method refreshes the segment buffer of a data segment.  A segment buffer contains an entire segment string value (extracted from the document), which does not change when data element values within the segment are modified.  The change will only happen by calling the Refresh method, which would then calculate the segment string with values from its data elements, similar to as how they would be written out to file had the document been saved.