Table of contents
TOC
Collapse the table of content
Expand the table of content

Report.CloseButton Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Specifies whether the Close button on a form is enabled. Read/write Boolean.

Syntax

expression. CloseButton

expression A variable that represents a Report object.

Remarks

The CloseButton property uses the following settings.

SettingVisual BasicDescription
YesTrue(Default) The Close button is enabled.
NoFalseThe Close button is disabled and the Close command isn't available on the Control menu.

You can set the CloseButton property only in form Design view.

If you set the CloseButton property to No, the Close button remains visible but appears dimmed (grayed), and you must provide some other way to close the form ? for example, a command button or custom menu command that runs a macro or event procedure that closes the form.

You can also close the form by pressing ALT+F4.

See also

Concepts

Report Object

© 2018 Microsoft