Skip to Content
FileMaker Pro 9: The Missing Manual
book

FileMaker Pro 9: The Missing Manual

by Geoff Coffey, Susan Prosser
August 2007
Beginner to intermediate
799 pages
28h 12m
English
O'Reilly Media, Inc.
Content preview from FileMaker Pro 9: The Missing Manual

Custom Functions

Often, you need to use a particular calculation more than once. Perhaps you have several tables that hold information about people and you want to write that “Full Address” calculation only once, and then use it in each table. Or you might find yourself wondering why FileMaker doesn’t have a function to do some incredibly useful thing. Maybe you frequently need to calculate your custom sprockets’ weight, and FileMaker (for some odd reason) doesn’t have a MySprocketWeight function. In all these cases, you can define your own functions to get the job done.

Defining a Custom Function

To get started, you’ll add a new function that can calculate the circumference of a circle. You may not actually need to calculate circumferences in your own data-bases much, but this example illustrates important concepts common to creating any custom function.

Note

If you don’t have the FileMaker Advanced edition, you’ll have to sit these next few exercises out, as explained in the previous Note.

  1. In FileMaker Pro Advanced, choose File → Manage → Custom Functions.

    You see the window shown in Figure 12-1. If you’ve never created your own function before, the list is blank—but not for long.

    The Manage Custom Functions window (File → Manage → Custom Functions) is where you go to create your own functions. It shows a list of custom functions that are already defined. You also get buttons to edit, duplicate, or delete a custom function, or to make a new one. As usual, you can sort the list by making a choice from the “View by” pop-up menu. Finally, when you’re all done, click OK to save all your changes, or Cancel to close the window and ignore any changes you’ve made.

    Figure 12-1. The Manage Custom Functions window (File → Manage → Custom Functions) is where you go to create your own functions. It shows a list of custom functions that are already defined. You also get buttons ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

FileMaker Pro 10: The Missing Manual

FileMaker Pro 10: The Missing Manual

Susan Prosser, Geoff Coffey
FileMaker Pro 13: The Missing Manual

FileMaker Pro 13: The Missing Manual

Susan Prosser, Stuart Gripman
FileMaker Pro 14: The Missing Manual

FileMaker Pro 14: The Missing Manual

Stuart Gripman, Susan Prosser
FileMaker Pro 11: The Missing Manual

FileMaker Pro 11: The Missing Manual

Stuart Gripman, Susan Prosser

Publisher Resources

ISBN: 9780596514136Errata Page