Gets the functional group that contains the data segment.
Syntax:
Returns
Returns an object of type FREDI.ediGroup.
Example
Set oSegment = oEdiDoc.FirstDataSegment
Do While Not oSegment Is Nothing
If oSegment.ID = "ST" Then
Set oGroup = oSegment.GetGroup
nTsCount oGroup.TransactionsetCount
End If
'...
Set oSegment = oSegment.Next
Loop