WillContinue Property

Microsoft Access Visual Basic

expression.WillContinue

expression    Required. An expression that returns one of the objects in the Applies To list.

Value Description
True The current section continues on the following page.
False The current section doesn't continue on the following page.

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.

You can get or set the value of the WillContinue property by using a macro or Visual Basic.

Example

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

MsgBox Reports("Product Summary").Section("PageHeaderSection").WillContinue