My.ADVISOR.com Sign-In
Username
Password
Sign Up 
Go to Article
Advanced Search 

FILEMAKER 9

Open Up! Integrate SQL Sources in FileMaker Pro 9

External SQL Source integration is one of the major changes in FileMaker Pro 9. Find out how to use it, when to use it, and what to look out for.

By Steve Lane, Soliant Consulting vice president

UNLOCKED -- This article is provided to subscribers of FILEMAKER ADVISOR or DATABASED ADVISOR or FILEMAKER ADVISOR. To subscribe or renew, go to Advisor Store.

This article introduces you to the External SQL Sources (ESS) feature in the FileMaker Pro 9 product line. ESS lets your FileMaker Pro 9 systems interact directly with data stored in several of the most widely used SQL databases: Oracle, MySQL, and Microsoft SQL Server. Using ESS, you can add tables from a remote SQL data source directly to the Relationships Graph in FileMaker Pro, and users can work with that data almost exactly as though the data were stored natively in FileMaker Pro. (There are some exceptions, which I cover later.)

As an example, suppose you have a FileMaker Pro system deployed at a university that manages student data in a centralized student information system (SIS) based in an Oracle database. Your system is used in the Engineering department, and must have access to current information on all undergraduate and graduate students enrolled in Engineering. Presently, the Registrar's office sends you a text-based export file of a limited field set, once per week, that you import into the FileMaker Pro system in Engineering. This process works, but it would be good to have access to a lot more information about the students. And the weekly update is just barely sufficient: daily would be much better, and up to the minute better still.

Using ESS, you could accomplish all that (at least from a technical standpoint). You could add the appropriate Oracle tables to the Relationships Graph in your Engineering system. As the data changes in the main SIS, you'd see the data change simultaneously in FileMaker Pro. You could create relationships between the Oracle tables and your FileMaker Pro tables. With appropriate permissions, you might even be able to add data directly to the main SIS.

That brings up a possible pitfall. Although this is all technically achievable with ESS, you might face some administrative hurdles. The SIS administrators would have to be willing to grant you direct access to the system, which might run foul of university IT policies. To achieve effective integration, they might have to create special "views" in the Oracle system, which would require time they might not want to spend. There might be other security or overhead concerns that could arise from direct integration, concerns you'd need to understand and manage.

This article won't help you negotiate the higher-level organizational issues that may arise in systems integration projects, but it will show you how ESS makes new kinds of integration technically feasible, and potentially quite simple. I'll show you an example scenario, then discuss the strengths and limitations of the technology, and examine which kinds of scenarios may be the best fit for ESS.

How ESS works

ESS uses a technology called Open Database Connectivity (ODBC) to connect to supported SQL data sources. ODBC is an industry-wide technology that connects a broad range of data sources. It's the technology behind the other two main methods for connecting FileMaker Pro systems to SQL data sources: the Import from ODBC Source command and the Execute SQL script step. If you've connected a FileMaker Pro system to a SQL data source using an earlier version of FileMaker Pro, odds are you've used ODBC.

Two things are required to connect to a SQL data source via ODBC: An ODBC driver, which is software that permits connections to a specific type of data source, such as Oracle or MySQL. The second is a Data Source Name (DSN), which is a bundle of configuration settings that pair up with a driver to connect to a specific instance of a data source. For example, "connect me to the student_info database on the University's Oracle server on the computer sisinfo.whereveru.edu using the user name fmpaccess and the password grundoon." Typically, the driver and the DSN must be located on the client computer (the one doing the querying).

Although there are ODBC drivers for a variety of SQL and non-SQL data sources, the ESS feature in FileMaker Pro 9 presently works with three types of data sources:

  • MySQL 5 Community Edition
  • Oracle Database 9i and 10g
  • Microsoft SQL Server 2000 or 2005

What do YOU think about this topic? Share your advice and thoughts using this form.

Your Name

REQUIRED : PUBLIC

Your E-Mail

REQUIRED : PRIVATE

Job, Company

OPTIONAL : PUBLIC

City, State, Country

OPTIONAL : PUBLIC

Your Web Site

OPTIONAL : PUBLIC

Your Comment

Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

Steve Lane, vice president of Soliant Consulting, served as a special projects developer at Scott Foresman, a leading K-6 Educational publisher. He has written for FileMaker Advisor magazine, and coauthored five books: Advanced FileMaker Pro 6 Web Development, Special Edition Using FileMaker Pro 7, Special Edition Using FileMaker 8, FileMaker 8 Functions and Scripts Desk Reference, and the FileMaker 9 Developer Reference. He has led training classes in FileMaker technologies all over the country and is also authorized to teach the Professional Training Foundation Series. He regularly speaks at the annual FileMaker Developer Conference where in 2003 he was awarded the FileMaker Fellowship Award for "pushing the boundaries of FileMaker Pro."

Printer-friendly
page layout

Keyword Tags: FileMaker, FileMaker Development, FileMaker FileMaker Pro, MySQL, Open Database Connectivity (ODBC), Oracle, SQL

ADVISORAMA
Eat my shorts!
-- Bart Simpson, The Simpsons

ARTICLE INFO

FileMaker Advisor

Web Edition: 2008 Week 03, Doc #19352

Print Edition: Febuary/March 2008, Page 14

SUBSCRIBER ONLY ARTICLE LOCKED

Subscribe to FileMaker Advisor Magazine

Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

FileMaker.Advisor.com

Subscribe to Advisor Basics of FileMaker Pro

Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

FileMaker.AdvisorBasics.com

Secrets Of The Top Experts -- Now!

See exactly how to do it, step-by-step, in Advisor Academy CDs created by the top experts. Click to see what you can learn right now.

AdvisorAcademy.com

Free E-Newsletters

Keep up! Hot News, How-To, Tips & Tricks, Expert Advice, and more. Click to request your's free.

AdvisorUpdate.info

Need Know-How Now?

What direction are you going with your business? Advisor Guides are packed with the answers you need to work smarter. Can you afford to fall behind?

AdvisorStore.com

Showcase Your Smarts

Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

AdvisorTips.com

Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
lanes008 posted 01/21/2008 modified 05/12/2008 03:43:38 AM ztfmfd/ztfmfd
domino-144.advisor.com my.advisor.com 05/16/2008 12:26:38 PM