Form.OnDisconnect Event (Access)
Occurs when the specified PivotTable view disconnects from a data source.
A variable that represents a Form object.
The following example demonstrates the syntax for a subroutine that traps the OnDisconnect event.
Private Sub Form_OnDisconnect()
MsgBox "The PivotTable View has " _
& "disconnected from its data source!"