다음을 통해 공유


Section.RepeatSection Property (Access)

You can use the RepeatSection property to specify whether a group header is repeated on the next page or column when a group spans more than one page or column. Read/write Boolean.

Syntax

.RepeatSection

A variable that represents a Section object.

Remarks

The RepeatSection property only applies to group headers on a report.

The RepeatSection property uses the following settings.

Setting

Visual Basic

Description

Yes

True

The group header is repeated.

No

False

(Default) The group header isn't repeated.

When printing a report that contains a subreport, the subreport's RepeatSection property will determine if the subreport group headers are repeated across pages or columns.

Example

The following example prints the group header "GroupHeader0" at the top of each page.

Reports("Purchase Order").Section("GroupHeader0").RepeatSection = True

참고 항목

개념

Section Object

Section Object Members