다음을 통해 공유


Form.OnDisconnect Event (Access)

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

Syntax

expression .OnDisconnect

expression A variable that represents a Form object.

Return Value

nothing

Example

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

See Also

Concepts

Form Object Members

Form Object