Skip to content

AutoNew_Page_State - cWinReport2

Determines if a new page is generated when a multi-report starts the next report

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean AutoNew_Page_State
Access Type Syntax
Read Access: Get AutoNew_Page_State to BooleanVariable
Write Access: Set AutoNew_Page_State to BooleanVariable/Value

Description

The pbMultiReports property allows you to link multiple reports allowing a user to view or print the multiple reports as a single instance. When pbMultiReports is true, the AutoNew_Page_State determines how page breaks are handled on the linked reports (i.e., the reports that occur after the first report). If AutoNew_Page_state is true, the default, the linked report will be start on a new page. If false, the new report is printed on the same page as the previous report.

Set pbMultiReports to True
Set AutoNew_Page_state to false

If pbMultiReports is false or this report is the first report in a series of linked reports, AutoNew_Page_State has no effect and a new page is always printed.

A new page is generated using the DFNew_Page message. This message can sent manually to force a new page.

See Also

pbMultiReports | DFNew_Page