Introduction to FileMaker Pro
by Alan Graham02/14/2003
We've been discussing for some time the possibility of starting a new section on the O'Reilly Network to cover the popular database application FileMaker Pro (FMP). The time has finally come.
Whether you are an existing FMP developer or interested in getting your feet wet, you'll find this section informative, helpful, and compelling. We'll be covering just about every aspect of FMP and expanding into a few directions that haven't been effectively explored.
About FMP
FileMaker Pro is a relational database application that has been around in some incarnation since the 80's. Although it is often recognized as a friend to Mac users, many people aren't aware that FMP solutions run on multiple platforms including Red Hat Linux, OS 9 and X, and Windows. With millions of registered users, including NASA, Lockheed Martin, JC Penny, and United Airlines, FMP solutions are powerful, yet simple to develop. In fact, every purchase you make in any Apple store is entered into a FMP database.
What is a relational database?
Think of a relational database as a collection of files (other individual databases) that, although separate, work together to share data. They do this by using a relational link (relationships) between the files.
Imagine you have a database solution that consists of a Contact Manager, Invoices, and Inventory. Each customer is automatically assigned a Customer ID number when entered. Now when you create a new invoice for a client, you want a number of things to happen automatically.
You want the contact information to be filled into the invoice automatically.
When you enter the product/item ID number into the invoice, you want the description of the item and the price to be entered automatically.
When you complete the invoice you want the Inventory database to reflect the sale and automatically deduct the items sold from the inventory.
You want to record who placed the order, when, and even where (if you have multiple locations).
You want to automate the calculation of shipping and handling costs as well as tax.
You want printed copies of invoices and receipts generated automatically.
You want shipping departments to be notified of orders and be able to locate the items quickly.
Once the item is shipped you want to notify the customer via Email that it has gone out the door and provide them with the tracking information.
You want to be able to recall all this data in moments if the customer calls with questions.
And finally you want to be able to create and print reports at the end of the day/week/month/quarter/year that contain all this information in a format that makes sense.
How does the database know how to do this? You create a common relationship between the different files and then build scripts to handle the automation. In relationships, when common data matches between these files, you can automate the sharing/entry of any information between them.
|
Related Reading Switching to the Mac: The Missing Manual |
For example, by defining a relationship between the Customer ID field in the Contact Manager and the Customer ID field in the Invoice, when the two numbers match, the customer's info is pulled through to the Invoice. When the Inventory ID on the Invoice matches the ID in the Inventory database, the pricing and product description is pulled through.
|
|
Once you become accustomed to how data can be moved and manipulated across multiple files, you begin to see creative solutions for practically any type of problem.
Advanced Automation
Creating a FMP database is building an application within an application. It can behave just like any other stand alone application, such as Word or Excel, however it doesn't require programming thousands of line of code.
At the core of FMP you'll find a diverse scripting language that allows you to create complex automated task with relative ease. These scripts give you the power to mimic the performance of a stand-alone application within a stable architecture that allows you to build solutions in record time.
Scenario
Let's say that it's the end of the financial quarter and each department must supply their records to multiple people in different departments and locations. With FileMaker, you could easily script your solutions to automate this process.
Department heads can pull the data that is critical to them without having to track down and tie up staff from other departments.
Each department can have reports designed to work to their exact specifications.
Documentation templates and be built to reflect the corporate identity.
Reports can be automated to trigger when specific criteria are met.
Email notifications and reminders can be sent to anyone in the database.
Reports can be automated to print to multiple locations, multiple printers, multiple media formats, regardless of location.
|
|
When the VP runs the report, each person specified to get a copy has one printed in their location and on their specific media formats.
|
|
Why FileMaker?
For 10 years I've been developing advanced database applications for just about every type of business. From Internet service firms to mail order shipping systems to architecture and project planning, I've seen just about every type of problem. To date, I've yet to find a database application that can match FMP for price/performance. I'm able to build complex solutions in a fraction of the time and cost it would take to roll out a comparable solution on a competing platform.
In addition, FMP has the tools that make IT departments happy. With support for data standards like XML, ODBC and JDBC, I know that my clients can connect to corporate data stores and perform SQL queries. FMP also supports barcoding and works with both the Pocket PC and Palm products.
|
|
If that weren't enough, according to FileMaker, sixty of the Fortune 100 firms have volume license relationships with FileMaker, not to mention 47 of the top 50 universities in the U.S. So without sounding too much like a cheerleader for the company, I wouldn't have stuck with the program all these years if it didn't deliver the goods.
More to come...
In the future we're going to cover a wide variety of topics from starting from scratch, solving complex problems, creative solutions, UI design tips, web solutions, Java, and much more.
Alan Graham is the creator of the Best of Blogs book series and is a frequent writer on the O'Reilly Network.
Return to the Mac DevCenter.
Showing messages 1 through 30 of 30.
-
ISDN TRUNKS TO FMP CALL PROCESSING CENTER
2006-06-08 13:31:03 helpdeskcenters@bellsouth.net [View]
-
Setting up FileMaker pro for web input
2004-01-31 06:26:29 watcoh [View]
We are just moving our database applications to Mac servers, and would like to find a comprehensive guide to setting up the server to pass the web input on to a FileMaker Pro database. we have extensive experience with Informix databases on an HP-9000, and want to use its data in our FileMaker queries.
-
FMP vs Excel
2003-11-28 01:58:44 anonymous2 [View]
I liked the page and the descriptions given by ur page. I'm currently in the process of designing a database, and a colleague of mine has suggested that i use Excel wot u think? -
FMP vs Excel
2004-11-01 03:26:46 virtualplumber [View]
Excel is not a database.
-
That is nice...when is the FM Pro/Apache article?
2003-06-04 17:59:49 anonymous2 [View]
Ireally like your writing...please give us a tutorial to connect FMP to a web server.
thanks
-
Fantastic
2003-04-04 15:02:27 anonymous2 [View]
Just another reason I love browsing O'Reilly. How about an article on inheriting a FMP RDB from an unreachable exemployee. Things to look for, things to change (security etc.) Ways to make shared DBs faster.
Thanks. I look forward to more.
d
-
How does this match up verses MYSQL etc
2003-03-28 08:07:51 anonymous2 [View]
Yeh yeh, OK I know it has a GUI etc, but for cross platform PHP/SQL projects, how does File Maker compare to something such as MYSQL, or Postgresql...
I expect that the later are better, but in our case we are thinking of 100,000s not 10,000,000 of records... eny thoughts would be appriciated...
Apache, Filemaker + PHP...does this stack up??
-
Keep the FMP info comming!
2003-03-18 05:40:52 anonymous2 [View]
Great stuff. Keep it comming. I'd like to see more on scripting and perl integration for web production.
THanks
-
Thanks! and just wishing...
2003-03-12 21:44:14 ttimes [View]
Thanks for a fine start to a much needed arena for FMP. I would like to see some comparisons between FMP and Oracle as I have had much more experience with the former. How does FMP stand as a backend database for web development compared to others? Is conversion easy? What about things like file locking and permissions?
I look forward to seeing more in future articles!
-
Missing function
2003-03-12 14:20:51 khasslinger [View]
Excel has a wonderful function called workday. It calculates an ending date based on start date, number of days to pass, and holidays. The ending date is always a weekday that isn't a holiday.
Has anyone written a function similar to this for FMP? -
Missing function
2004-04-06 09:42:28 iekel [View]
Have you found this function for FMP yet? I need it too!
-
Can Do FMP/JDBC/MySQL ++ MX
2003-02-21 15:26:59 anonymous2 [View]
Filemaker can be done with the SQL-Plugin see clickware.com.
FMP via plugin over JDBC on Jaguar you can do basic SQL to MySQL and others. Bonus if you have Dreamweaver MX you can now build Dynamic (PHP) websites all on one Mac and provide a Filemaker backend gui.
How about an article that describes how much the advanced Filemaker user uses Plug-ins?
SQL-Plugin
oAzium Events
oAzium Charts
SMTPit / Mail.it
Local Data Access
Remote Data Access
Web Companion
Server Administration
and a half dozen others that are not X - yet
peace
-
Wish List
2003-02-19 10:54:34 eddy [View]
I currently use MS Access 2000 to maintain a database. I would like to see some comparisions between Access & FMP, especially in the querying and Reporting abilities. If FMP is attractive, I might convince my boss to jump to FMP. :) -
Wish List
2003-02-19 11:12:05 Alan Graham |
[View]
This is one product version old...but it is a start:
http://www.filemaker.com/products/fmu_features_compare.html
Do a Google on Filemaker Access comparison...lots to see.
-
EXCEL Response
2003-02-18 15:34:59 anonymous2 [View]
Yes.
You can turn an xls into a fp5 file in FMP 6 simply by opening it in FMP6. Also, you can import the data into an existing database. In FMP 6 this proccess has been made so simple that I actually prefer opening an excel file rather then a tabtext file or something like that.
---ryanr@genwest.com
-
Thank you Alan
2003-02-18 10:49:35 anonymous2 [View]
I have been working with both FMP and MS Access for a number of years but I got my start with Borland's dbase II. I am looking forward to getting advice on improving FMP's front end. In access the vast number of attributes that exist for each object are very nice and I have yet to find that I have the same flexability FMP. The major reason that I use FMP is for the unbeaten cross-platform support that it offers.
I hope that you will be able to give us some ideas for improving on the already impressive tools FMP provides.
-
FMP vs Real Basic or 4D
2003-02-17 14:21:25 jgoforth [View]
The O'Reilly Network does not show much interest in WebObjects the Apples top end product, so why FMP? True it does appear to be the most used entry-level database, but I had heard rumors in the past that said Apple wanted to sell FMP. I have not seen (maybe I missed them) any signs of Apple doing much with this product. Why not Real Basic or even 4D who was once biggest database on the Mac (also is runs on Windows)? -
FMP vs Real Basic or 4D
2003-02-17 14:34:56 Alan Graham |
[View]
Apple won't sell FMP.
Apple doesn't do anything with FMP because they operate as an independant company...it isnt' up to Apple to "do anything" with it.
I recommend you visit their site and read up on FMP. It is quite impressive...
-
Glad to see this article series.
2003-02-17 12:00:23 anonymous2 [View]
I use FileMaker Pro for all sorts of things from basic "knowledge storage" to data entry and data formatting applications. It is also really great for prototyping an SQL database if FMP doesn't meet your production needs and your end goal is an SQL database.
I hope there will be an easy to find, permanent URL on O'Rielly for this topic.
I hope you can get into some advanced topics. There is a point where you cross from what you've learned from others to what is basically hacking. I'd like to see how others have solved various development goals so that my hacking can become a bit more refined. :)
I just setup a username of rkfoster but I don't have access to the email account right now.
-
JDBC
2003-02-17 11:45:20 anonymous2 [View]
If you could include some information on how to use FMPro as a front end to Oracle, I would be very gratefull. I have been tryingto figure out how to do this for a couple of years now, and even after some talks with people at filemaker i have been unable to figure this out.
-
FMP & Keynote + Quicktime
2003-02-16 21:27:39 anonymous2 [View]
I'd love to see any or all capabilities FMP adds to Mac OSX apps such as: Keynote; Quicktime. Implimentation of XML and it's uses would be greatly appreciated.
Michael Labay
-
FMP List
2003-02-15 09:48:57 poulosesq [View]
1. How do I find this discussion group on a regular basis?
2. I need to figure out how to accomplish the following:
a. I have a FMP database with a list of all clients.
b. I have a FMP database with a list of all matters. Each matter is related to a client. Many clients have multiple matters.
c. I have other databases. I want to relate each record to a client and matter. When I select a client I would like the next field to give me a list of matters related to that client so I can select one. How can I do this.
d. Also, how can I specify that I only want active clients and active matters unless I specify otherwise?
Thank you.
Michael D. Poulos -
FMP List
2003-02-15 14:38:17 Alan Graham |
[View]
1. Currently this section will be for articles on FMP...we don't have an actual messageboard as of yet.
2. (a, b, c, d) Relationships, relationships, relationships. Start with this...you have a file of clients...a file of items related to clients. If you automatically assign a Customer ID to each client you can use that number to track whatever you need across many files. Then using those Customer ID relationships (make sure the Customer ID is used in your "matters" file) you can use something like a pop up field to see all related items.
You'll notice here:
http://homepage.mac.com/agraham999/fmp/fmp1.jpg
I use a pop up field to show a list of leads related to a clients from a leads file. And here:
http://homepage.mac.com/agraham999/fmp/fmp2.jpg
I use a navigation button to the right which will take me to one of the items in that list. I prefer to use a pop up list because it conserves space in the UI. It doesn't matter how many matters you have for each client...as long at that client ID is associated with each matter...you can pull that data anywhere you like with a relationship.
Let me know if this helps.
Alan
-
FMP & Excel
2003-02-15 05:48:08 anonymous2 [View]
I am interested in the relationship between FMP & Excel. I understand that info can be exported to excel from FMP. Is the reverse possible? Can there be a live link between the two programs where info entered in one is automatically updated in the other? Or can FMP handle & display data like a spreadsheet? I look forward to more articles.
-
Much needed info
2003-02-15 05:25:47 jbmusic [View]
I'll definitely be checking back for these articles on FMP- looking forward to good info!
-
ODBC
2003-02-14 22:34:36 anonymous2 [View]
>Does ODBC work with OS X?
Don't know why it wouldn't. That component already comes with FMPro anyway. Also, MySQL for OS X comes with an ODBC driver
-
Looking Forward to Articles
2003-02-14 19:21:02 anonymous2 [View]
This is great. I am looking forward to seeing more articles on FMP. Where is the FMP Section though?
-
Wish list
2003-02-14 17:51:22 anonymous2 [View]
How about infomrmation on using FileMaker as a front end to MySQL. Does ODBC work with OS X? -
Wish list
2003-02-14 21:52:08 Alan Graham |
[View]
I haven't yet tested ODBC with OS X...only FMP and Windows...but we'll be looking into it. -
ODBC & Mac OSX
2003-05-29 02:34:55 anonymous2 [View]
Have been working for the last weeks extracting Oracle data from Mac OSX 10.2.6 + FMPRO 6.04 + Oracle ODBC drivers downloaded from FMPRO upgrade site.
Everything OK except that the table list arrives not sorted. Have to manually scan to find the good one
(if you don't know names) or type the table name in the window.
Greetings from Italy















(a) ISDN trunks to EKTS to (b) TAPI to (c) SERIAL to
(d) PC/MAC to (e) Filemaker Pro Rel. Summary: OutlookŪ for instance EKTS, w/TAPI addresses issues shown required except most important one: FMP DATABASE. Hence: FMP must be the screen call manager: function with two (2) screen pop(s) = RDN & ANI e.g., called/calling number data. The called number ANI data triggers client data base NOT ANI data. Client(s) are c/forwarded to ISDN trunks. Hence: FMP must function as ISDN call controller: Perform: PBX MESSAGING - TRANSFER - DISPATCH - CONF., + DROP. all std. centrex features.