expression.GrpKeepTogether
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
The GrpKeepTogether property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
Per Page | 0 | Groups are kept together by page. |
Per Column | 1 | (Default) Groups are kept together by column. |
Note You can set the GrpKeepTogether property by using the report's property sheet, a macro, or Visual Basic.
This property can be set only in report Design view.
You can use this property to 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.
The GrpKeepTogether property setting has no effect if the KeepTogether property for a group is set to No.