GroupLevel.GroupHeader property (Access)

Use the GroupHeader property to create a group header for a selected field or expression in a report. Read/write Boolean.

Syntax

expression.GroupHeader

expression A variable that represents a GroupLevel object.

Remarks

Use group headers and footers to label or summarize data in a group of records. For example, if you set the GroupHeader property to Yes for the Categories field, each group of products will begin with its category name.

Note

You can't set or refer to these properties directly in Visual Basic. To create a group header or footer for a field or expression in Visual Basic, use the CreateGroupLevel method.

To set the grouping properties—GroupOn, GroupInterval, and KeepTogether—to other than their default values, you must first set the GroupHeader or GroupFooter property or both to Yes for the selected field or expression.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.