Report.Modal property (Access)

Use the Modal property to specify whether a report opens as a modal window. When a report opens as a modal window, you must close the window before you can move the focus to another object. Read/write Boolean.

Syntax

expression.Modal

expression A variable that represents a Report object.

Remarks

The Modal property uses the following settings.

Setting Visual Basic Description
Yes True The form or report opens as a modal window.
No False (Default) The form opens as a non-modal window.

When you open a modal window, other windows in Microsoft Access are disabled until you close it (although you can switch to windows in other applications). To disable menus and toolbars in addition to other windows, set both the Modal and PopUp properties to Yes.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.