Accessing external data sources > Configuring an ODBC client driver
 
Configuring an ODBC client driver
Whether you are importing ODBC data or working with ODBC tables in the relationships graph, as a client application, you must configure a driver for the ODBC data source you’re using. For example, if you will be accessing records from an Oracle database, you will configure an Oracle client driver.
The way you interact with the data source, provide a password, and perform and display query results varies with each application’s client driver. Additionally, data source configuration can vary from one ODBC driver manufacturer to another.
Data sources supported in FileMaker Pro
As an ODBC client application, FileMaker supports external SQL data sources such as Oracle, Microsoft SQL Server, and MySQL Community Edition as ODBC tables in the relationships graph. If you are importing ODBC data or are using the Import Records or the Execute SQL script step, you can use additional data sources. For information about the supported external SQL data sources, search the FileMaker Knowledge Base available at http://help.filemaker.com. For an overview of the various ways of working with ODBC data sources, see Using ODBC and JDBC with FileMaker Pro.
Note  In Windows, if you’re using the 32-bit version of FileMaker Pro, you must use a 32-bit ODBC client driver; if you’re using the 64-bit version of FileMaker Pro, you must use a 64-bit ODBC client driver. In OS X, you must use a 64-bit ODBC client driver.
Use the following procedure as a general guideline for configuring data sources (refer to the documentation that accompanies each data source application for details).
Windows
1. Start the ODBC Data Source Administrator.
In Control Panel, choose System and Security > Administrative Tools. Then do one of the following:
32-bit Windows: Open Data Sources (ODBC).
64-bit Windows:
 
For FileMaker Pro
Do this
32-bit
Windows (64-bit): Open Data Sources (ODBC) (32-bit).
Windows 7 (64-bit): Double-click the odbcad32.exe file in the C:\Windows\SysWOW64 folder.
64-bit
Windows (64-bit): Open Data Sources (ODBC) (64-bit).
Windows 7 (64-bit): Open Data Sources (ODBC).
2. Click the System DSN tab or the User DSN tab.
If your data source appears in the list, the driver is already configured. You can skip the remaining steps and begin accessing ODBC data, or choose your data source and click Configure to modify how you’ll interact with the data source.
A System DSN (data source name) is available to all users who log in to your computer. A User DSN is available only when you log in.
Important Only System DSNs are supported when you are working with ODBC tables in the relationships graph.
3. Click Add to configure a driver for your data source.
If no driver appears for the data source you want to use, you can use a driver from a third-party vendor.
To install a new driver, use the driver’s installation program.
4. Choose the driver for the data source you’ll be accessing with FileMaker Pro, then click Finish.
A setup dialog box appears.
5. For Name, enter descriptive text to identify the data source.
Many drivers also offer options to customize how you access a data source, such as identifying a particular data source file. Enter descriptive text, if desired.
6. Click Finish.
7. Click OK to save your data source information.
OS X
1. Install the ODBC Manager from Actual Technologies, available at http://www.odbcmanager.net.
Note  ODBC Manager is a freeware product not supported by FileMaker.
2. Launch the ODBC Manager utility.
3. Click the System DSN tab (or, for ODBC imports, click either the System DSN tab or the User DSN tab).
Important Only System DSNs are supported when you are working with ODBC tables in the relationships graph.
If your data source appears in the list, the driver is already configured. You can skip the remaining steps and begin accessing ODBC data, or choose your data source and click Configure to modify how you’ll interact with the data source.
A System DSN (data source name) is available to all users who log in to your computer. A User DSN is available only when you log in.
4. Click Add to configure a driver for your data source.
If no driver appears for the data source you want to use, you can use a driver from a third-party vendor.
To install a new driver, use the driver’s installation program.
5. Choose the driver for the data source you’ll be accessing with FileMaker Pro, then click OK.
6. In the configuration dialog box, click Continue.
7. For Name, enter descriptive text to identify the data source.
Many drivers also offer options to customize how you access a data source, such as identifying a particular data source file. Enter descriptive text, if desired.
8. Click Finish.
9. Click Done to save your data source information.
After you have configured the driver, you can access records in your data source. See Connecting to data sources and Querying an ODBC data source from FileMaker Pro.