User manual

Table Of Contents
15-2
FileMaker Pro User’s Guide
ODBC support in FileMaker Pro
You can use the ODBC support in FileMaker Pro to:
1 work with FileMaker Pro data from ODBC-compliant applications
to create charts, construct ad-hoc queries, and analyze your data with
a variety of software applications
1 construct SQL queries in FileMaker Pro to import data from other
ODBC data sources like Microsoft Access or Oracle databases
For a list of SQL commands that FileMaker Pro supports, choose
Help menu > Contents and Index, click the Index tab, and type SQL
support.
Sharing FileMaker Pro data via ODBC
This section provides instructions for sharing FileMaker Pro data
with other ODBC-compliant applications. The process of
constructing SQL queries varies for each ODBC client application.
The FileMaker Pro ODBC driver enables you to access FileMaker Pro
data from other ODBC-compliant applications. For example, you can:
1 perform mail merges with Microsoft Word (Windows only)
1 create charts with Microsoft Excel
1 move or back up FileMaker Pro data to corporate-level DBMSs,
like Microsoft SQL Server
1 further analyze your FileMaker Pro data with query or reporting
tools like BrioQuery or Crystal Reports to create charts, construct ad-
hoc queries, and perform drill-down analysis
1 create a Microsoft Visual Basic application that shares information
with FileMaker Pro
FileMaker Pro shares data via ODBC with the Data Access
Companions. The Data Access Companions are FileMaker Pro plug-
ins that interface between the FileMaker Pro ODBC driver and your
FileMaker Pro database. They respond to SQL queries sent from
other ODBC-compliant applications. Enable the Local Data Access
Companion to share a FileMaker Pro file on the same computer.
Enable the Remote Data Access Companion to share the
FileMaker Pro file across a TCP/IP network.
Sharing data via ODBC: an overview
To share FileMaker Pro databases using ODBC, you:
1. Prepare the database files by enabling the Data Access Companion
plug-ins.
It’s a good idea to review the file’s access privileges to prevent data
from being inadvertently modified or deleted.
2. In the ODBC client application, configure the data source using
the ODBC control panel.
3. Connect to the FileMaker Pro data source, then construct and execute
the SQL query in a client application (like Microsoft Query or BrioQuery).
The procedures are described in more detail below.
Enabling the Data Access Companions
To share your data via ODBC, start by enabling the Data Access
Companion plug-ins:
1. Choose Edit menu > Preferences > Application.
2. Select the Plug-Ins tab.
3. Enable the desired Data Access Companions and click Done.
1 Enable Local Data Access Companion to share the FileMaker Pro
data with ODBC-compliant applications on the same computer.
1 Enable Remote Data Access Companion to share FileMaker Pro data
across a TCP/IP network.
4. In each database you want to share, choose File menu > Sharing,
enable the Data Access Companions, and click OK.
1 Enable Local Data Access Companion to share this FileMaker Pro
database with ODBC-compliant applications on the same computer.