다음을 통해 공유


Form.OnConnect Event (Access)

Occurs when the specified PivotTable view connects to a data source.

Syntax

.OnConnect

A variable that represents a Form object.

Return Value

nothing

Example

The following example demonstrates the syntax for a subroutine that traps the OnConnect event.

Private Sub Form_OnConnect() 
 MsgBox "The PivotTable View has " _ 
 & "connected to its data source!" 
End Sub

참고 항목

개념

Form Object

Form Object Members