API Documentation > CorelDRAW > 2025-v26 > DataField > IVGDataField
DataField.SummarizeGroup property
Gets or sets whether to Summarize Group
Syntax:
Property Get SummarizeGroup() As Boolean
Property Let SummarizeGroup(ByVal Value As Boolean)
Remarks:
The SummarizeGroup property returns or specifies whether to summarize the data in the fields for the grouped objects.
Examples:
The following VBA example shows the list of all data fields defined for the active document and whether or not the data in the fields should be summarized throughout grouped shapes.
Sub Test()
Dim s As String
Dim df As DataField
s = "Field" & vbTab & "Summarize" & vbCr
s = s & "------" & vbTab & "--------------" & vbCr
For Each df In ActiveDocument.DataFields
  s = s & vbCr & df.Name & vbTab
  If df.SummarizeGroup Then s = s & "Yes" Else s = s & "No"
  Next df
  MsgBox s

End Sub