ACC: In a Report, Close Event Occurs Before Deactivate EventID: Q173684
|
Moderate: Requires basic macro, coding, and interoperability skills.
The sequence of the Deactivate and Close events for a Microsoft Access form
are the reverse of the Close and Deactivate events in a Microsoft Access
report.
When you close a form, the following sequence of events occurs for the
form:
Unload => Deactivate => Close
Close => Deactivate
Private Sub Form_Deactivate()
MsgBox "Deactivate event"
End Sub
Private Sub Form_Close()
MsgBox "Close event"
End Sub
Private Sub Report_Deactivate()
MsgBox "Deactivate event"
End Sub
Private Sub Report_Close()
MsgBox "Close event"
End Sub
To find more information about events and their sequence, search the Help Index for "sequence of events", or ask the Microsoft Access 97 Office Assistant.
Additional query words: inf 95 8.00
Keywords : FmsEvnt RptEvent
Version : WINDOWS:2.0,7.0,97
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: May 3, 1999