Establishing a Connection
The objects available within our connector are accessible from the "cdata.access" module. In order to use the module's objects directly, the module must first be imported as below:
import cdata.access as mod
From there, the connect() method can be called from the connector object to establish a connection using an appropriate connection string, such as the below:
To connect to Access, set the DataSource property to the path to the Access database file.