EDI Object
 
Syntax
 
Result = EDI.SegmentCount
 
Description
Returns the total amount of segments inside a EDIFACT message, filtered from the previously loaded Message. If the function returns a 0 (zero), check the LastErrorCode and LastErrorText for more information.
 
Note: the number of segments is less than the RowCount, because this function returns the net amount of items inside the EDIFACT message, without headers and trailers .
 
See Also
Example