Section.WillContinue Property

Access Developer Reference

Determines if the current section will continue on the following page. Read/write Boolean.

Syntax

expression.WillContinue

expression   A variable that represents a Section object.

Remarks

You can use this property to determine whether to show or hide certain controls, depending on the value of the property. For example, you may have a hidden label in a page header containing the text "Continued on next page". If the value of the WillContinue property is True, you can make the hidden label visible.

Example

The following example displays a message box indicating whether the page header for the report "Product Summary" will continue on the following page.

Visual Basic for Applications
  MsgBox Reports("Product Summary").Section("PageHeaderSection").WillContinue

See Also