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

Form.Close Event (Access)

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

The Close event occurs when a form is closed and removed from the screen.

Syntax

expression. Close

expression A variable that represents a Form object.

Return Value

nothing

Remarks

To run a macro or event procedure when this event occurs, set the OnClose property to the name of the macro or to [Event Procedure].

The Close event occurs after the Unload event, which is triggered after the form is closed but before it is removed from the screen.

When you close a form, the following events occur in this order:

UnloadDeactivateClose

When the Close event occurs, you can open another window or request the user's name to make a log entry indicating who used the form or report.

The Unload event can be canceled, but the Close event can't.

See also

Concepts

Form Object

© 2018 Microsoft