KeepTogether Property — Groups

Applies To

Report.

Description

You can use the KeepTogether property for a group in a report to keep parts of a group — including the group header, detail section, and group footer — together on the same page. For example, you might want a group header to always be printed on the same page with the first detail section.

Setting

The KeepTogether property for a group uses the following settings.

Setting

Description

Visual Basic

No

(Default) Prints the group without keeping the group header, detail section, and group footer on the same page.

0

Whole Group

Prints the group header, detail section, and group footer on the same page.

1

With First Detail

Prints the group header on a page only if it can also print the first detail record.

2