ConnectionString Property

See Also                  Applies To

Returns or sets the ADO connection string for a two-tier database connection. Read/write String.

Remarks

This property is equivalent to CurrentProject.BaseConnectionString in Microsoft Access. When the data source control creates a connection, the value of the data source control ConnectionString property may not be the same as the value returned by the ConnectionString property on the Connection object because the data source control uses other OLE DB providers to supply additonal services. For example, on an HTML page containing a data source control with ID "MSODSC" the following expressions may not be equivalent.

MSODSC.ConnectionString
MSODSC.Connection.ConnectionString