EDI Object
 
Syntax
 
Result = EDI.GetSegment(sgName[, FromRow][, Reversed])
 
Description
Returns a string containing the requested segment in a previously loaded Message. For recurring segments, the optional FromRow can be set. When used in conjunction with the Reversed option, the segment will be searched in reversed order.
 
Parameter
Description
sgName
The 3 letter name of the segment to be found.
FromRow
Optional. the starting point in the EDI message from where the segment is to be searched.
Reversed
Optional.. When TRUE, searching is done backward from the end of the EDI message, or the FromRow when specified.
 
See Also
Example