CData Python Connector for Microsoft Access

Build 23.0.8839

Establishing a Connection

The objects available within our connector are accessible from the "cdata.access" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.access as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("DataSource=C:\\My.accdb")

Connecting to Microsoft Access

To connect to Microsoft Access, set DataSource to the full path (including filename) of a Microsoft Access database file. For example, C:\Users\Public\Documents\MyDatabase.accdb.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839