Groups (Collection)

Member of:

ReportSection object

Description:

Represents the Report Groups; that is, the user selects the Groups portion of the Outliner in the Reporter. It is treated like a header band, but there are separate objects for the actual Report page headers/footers and Report header/footer.

Note:

If you use the Add (Method), Move (Method), and Remove (Method) with this collection, and the SuspendCalculation (Property) is true (default), use the Recalculate (Method) to recalculate the Report section.

Example:

This example shows how to add the Year column member:

ActiveDocument.Sections["Report"].Groups.Add(Year)
Recalculate()

Methods:

Add(Member as String, [optional] Section Dependency as String), Item (Value As NameOrIndex), RemoveAll()

Properties:

Read-only: Count as Number