GrpKeepTogether Property

Applies To

Report.

Description

You can use the GrpKeepTogether property to specify whether groups in a report that have their KeepTogether property (Groups) set to Whole Group or With First Detail will be kept together by page or by column.

Setting

The GrpKeepTogether property uses the following settings.

Setting

Description

Visual Basic

Per Page

Groups are kept together by page.

0

Per Column

(Default) Groups are kept together by column.

1


You can set the GrpKeepTogether property in the report’s property sheet, a macro, or using Visual Basic.

This property can be set only in report Design view.

Remarks

The GrpKeepTogether property lets you specify whether all the data for a group will appear in the same column. For example, if you have a list of employees by department in a multiple-column format, you can use this property to keep all members of the same department in the same column.

See Also

GroupInterval Property, GroupOn Property, KeepTogether Property — Groups, KeepTogether Property — Sections.