Report.Activate event (Access)
The Activate event occurs when a report receives the focus and becomes the active window.
Syntax
expression.Activate
expression A variable that represents a Report object.
Return value
Nothing
Remarks
To run a macro or event procedure when these events occur, set the OnActivate or OnDeactivate property to the name of the macro or to [Event Procedure].
You can make a report active by opening it, or by choosing it or a control on it.
The Activate event can occur only when a report is visible.
The Activate event occurs before the GotFocus event; the Deactivate event occurs after the LostFocus event.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om