Triggered when a connection to a data source is established.
VBA / VB.NET
object.OnConnect(Datasource)
Type: DbConnect
An object expression that evaluates to a DbConnect container object.
Type: String; input to the handler
The name of the data source.