次の方法で共有


GroupLevel.GroupHeader Property (Access)

You can 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

You can 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.

See Also

Concepts

GroupLevel Object

GroupLevel Object Members