Table of contents
TOC
Collapse the table of content
Expand the table of content

Form.OnConnect Event (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. OnConnect

expression 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

See also

Concepts

Form Object

© 2018 Microsoft