Returns the user requirement of a Data Segment.
Syntax:
Returns:
A string with either of the following values:
- DEPENDENT
- MUST USE
- NOT RECOMMENDED
- NOT USED
- RECOMMENDED
- USED
Remarks
The User Requirement is the requirement that has been specified by the user in the implementation guideline that indicates the importance of the presence of a data segment in a document.
Example
Dim oEdiDoc As Fredi.ediDocument
Dim oSegment As Fredi.ediDataSegment
...Set oSegment = oEdiDoc.FirstDataSegment
Do While Not oSegment Is Nothing
MsgBox oSegment.UserRequirement
Set oSegment = oSegment.Next
Loop
Sample