EDI Object
 
Syntax
 
Result = EDI.SubFieldCount(FieldNum)
 
Description
Returns the number of subfields in the current segment, set by a previous GetSegment function or Row property. If the function returns 0, check the LastErrorCode and LastErrorText for more information.
 
Parameter
Description
FieldNum
The part of the segment, identified by the position in segment string. Offset is 1, meaning the first item is 1.
note: when Fieldnum = 0, the name of the segment is returned.
 
See Also
Example