EDI Object
 
Syntax
 
Result = EDI.GetField(FieldNum[, SubField])
 
Description
Returns a specific value from the current EDI-segment. A segment is selected by the GetSegment function, or by setting the Row property. If the result is an empty string, 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.
SubField
Optional. the subvalue for the field item. If zero or omitted, the entire value is returned, else only the subfield value. Offset is 1, meaning the first subitem is 1.
 
See Also
Example