A SERVICE OF

logo

Chapter 3
|
Using ODBC to share FileMaker data 17
Accessing a FileMaker database file from a Windows application
Specifying ODBC client driver properties for a FileMaker DSN (Windows)
Create a DSN for each FileMaker database file you want to access as a data source. The DSN identifies the
FileMaker ODBC client driver, the location of the FileMaker host application, and the FileMaker database
file you’re accessing as a data source.
To set up or change ODBC client driver properties:
1. Open the ODBC Data Source Administrator control panel.
In the Windows Control Panel, choose Administrative Tools > Data Sources (ODBC).
In Windows XP, Administrative Tools appear in the Performance and Maintenance category. In Windows
Vista, Administrative Tools appear in the System and Maintenance category.
2. Click the System DSN tab.
If you set up your data source as a User DSN or File DSN, click the corresponding tab.
3. Click Add.
Note If you’re changing the properties of an existing data source, select the data source, click Configure,
and skip to
step 6.
4. Choose DataDirect 32-BIT SequeLink 5.5 from the list of drivers.
If the driver is not listed in the ODBC Data Source Administrator, look for the (Default) entry of the
registry key HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers using Regedit (choose
Start menu
> Run > Regedit). The Data for this entry should be (value not set). If instead you see a blank
string, right-click (Default), choose Delete, and click Yes to confirm. This resets the entry to (value
not set).
Uninstall and reinstall your ODBC client driver to see it in the ODBC Data Source Administrator.
5. Click Finish.
The DataDirect SequeLink for ODBC Setup dialog appears, with the General tab selected.
6. For Data Source Name, type a name that will be meaningful to others accessing the FileMaker data source.
An additional Description is optional.
Be sure Use LDAP is cleared. No translator .DLLs are included with the ODBC client driver (so clicking
Translate will not allow you to configure an ODBC translator).
7. For SequeLink Server Host, enter the location of your data source.
If you’re connecting to a FileMaker database file hosted by FileMaker Pro on your local machine, type
localhost (or 127.0.0.1).
If you’re connecting to a FileMaker database file hosted by FileMaker Server over a network, type the
IP address of FileMaker Server.
8. For SequeLink Server Port, type 2399.
Important When configuring a FileMaker data source, you must specify 2399 as the SequeLink Server Port.
9. For Server Data Source, type the filename of the FileMaker database file you’re using as a data source
(don’t type the filename extension).