Use an Easysoft ODBC Driver to connect Microsoft Access to an ODBC Database, enabling you to retrieve and update data stored in data stores such as MongoDB and Salesforce.com from a Microsoft Access front end.
Microsoft Access uses an ODBC driver to interact with an external data source. ODBC is a data access technology, the Microsoft implementation of which is included with Windows.
The components necessary to connect Microsoft Access to Salesforce.com are:
Microsoft Access <-> Salesforce.com ODBC Driver <-> Salesforce.com
The components necessary to connect Microsoft Access to MongoDB are:
Microsoft Access <-> MongoDB ODBC Driver <-> MongoDB
The Salesforce.com ODBC Driver and MongoDB ODBC driver are available to download from the Easysoft web site.
For installation instructions, see the Salesforce.com ODBC Driver documentation or MongoDB ODBC Driver documentation.
Before you can use the Easysoft ODBC Driver to connect Microsoft Access to Salesforce.com or MongoDB, you need to configure a System ODBC data source. An ODBC data source stores the connection details for the target database (e.g. Salesforce.com) and the ODBC driver that is required to connect to it (e.g. the Salesforce.com ODBC driver).
To run ODBC Administrator, in the Windows Run dialog box, type this command if you are using a 64-bit version of Microsoft Access:
%windir%\system32\odbcad32.exe
–Or–
Enter this command if you are using a 32-bit version of Microsoft Access:
%windir%\syswow64\odbcad32.exe
If you are not sure whether your version of Microsoft Access is 32-bit or 64-bit, start Microsoft Access and then look for the Access process in Task Manager. If the process name is MSACCESS.EXE *32, Microsoft Access is 32-bit. If the process name is MSACCESS.EXE, Microsoft Access is 64-bit.
Use ODBC Administrator to create your ODBC Driver data source.
Setting | Value |
---|---|
DSN | Salesforce.com |
User Name | The name of your Salesforce.com user. For example, myuser@mydomain.com. |
Password | The password for your Salesforce.com user. |
Token |
The security token for your Salesforce.com user, if required.
To find out whether you need to supply a security token, choose the Test button. If the connection attempt fails with an error which contains Salesforce.com emails the security token to the email address associated with your Salesforce.com user account. If you have not received a security token, you can regenerate it. Salesforce.com will then email the new security token to you. To regenerate your security token, log in to Salesforce.com and then choose Setup from the user menu. Search for "security token" in the Quick Find box. Click Reset Security Token in the Reset Security Token page. When you receive the token in your email client, copy it and then paste it into the Token field. |
Setting | Value |
---|---|
DSN | MongoDB |
Description | Easysoft MongoDB ODBC Driver |
Server | The name or IP address of the host where your MongoDB instance is running. |
User Name | If you need to supply a user name to access your MongoDB database, enter it here. |
Password | The password for your MongoDB user name. |
You can now connect Microsoft Access to Salesforce.com or MongoDB:
The Link dialog box is displayed.
The Get External Data wizard starts.
The Get External Data wizard starts.
The Select Data Source dialog box is displayed.
The Link Tables dialog box is displayed.