Export (0) Print
Expand All
Expand Minimize

Form.OnDisconnect Event (Access)

Occurs when the specified PivotTable view disconnects from a data source.

expression .OnDisconnect

expression A variable that represents a Form object.

Return Value


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!" 
End Sub
© 2014 Microsoft