Initialise the DbConnect object for a particular configuration
The connection type (DAO, ADO, ODBCDirect)
The statement format (JET, MSSQL)
The database connection string (ADO), or the full database path (DAO). A blank value defaults to CurrentProject.Connection or the current database.
Open the connection or database in this workspace If omitted, use the first compatible workspace, or create a new one.
Set an identifying string for use in tracking the source of error messages
dim dbc as xf_DbConnect dbc.Init xf_ConnType_AccessADO, xf_SQLStatementFormat_MSSQL, _ "Provider=SQLOLEDB;Data Source=TESTXP\SQL2008EXPRESS;Initial Catalog=TangGovernance;Integrated Security=SSPI;"