Partager via


Report.LostFocus Event (Access)

The LostFocus event occurs when the specified object loses the focus.

Version Information

Version Added: Access 2007

Syntax

expression .LostFocus

expression A variable that represents a Report object.

Remarks

To run a macro or event procedure when these events occur, set the OnLostFocus property to the name of the macro or to [Event Procedure].

This event occurs when the focus moves in response to a user action, such as pressing the TAB key or clicking the object, or when you use the SetFocus method in Visual Basic or the SelectObject, GoToRecord, GoToControl, or GoToPage action in a macro.

See Also

Concepts

Report Object Members

Report Object