Framework EDI Reference. Methods and Properties
ediDataElement. Value

Gets or sets the value of the data element.

Syntax:

Remarks

The data element is always associated with a value. If no value was assigned then the value is empty.

Example

Dim oEdiDoc As Fredi.ediDocument
Dim oDataElement As Fredi.ediDataElement
Dim oDataSegment As Fredi.ediDataSegment

....

' Get first data segment in document.
Set oDataSegment = oEdiDoc.FirstDataSegment

' Get the data element that is the 5th position of the BEG data segment.
Set oDataElement = oDataSegment.GetDataElementByPos("\ISA\GS\ST\BEG<373>")

' Show the data element value.
MsgBox "Data element value: " & oDataElement.Value

Sample

P_Value.zip