This is the book we want on our desks—even after writing it. Just as a writer always needs a dictionary nearby, we’ve found over the years that it would be great to have a quick set of reminders within reach. It’s impossible to recall each function’s syntax, or every script step’s attributes. Although we use the Let()
function every day, the exact output of RelationInfo()
can be a little less fresh in our minds. This desk reference contains notes on all the script steps and calculation functions in FileMaker, and provides lists of other facts like error codes, port numbers, XML grammar, and more. This book will provide invaluable assistance to like-addle-minded developers everywhere, regardless of one’s experience with FileMaker.
Before going any further, we’d like to congratulate the tech writers, engineers, and product managers at FileMaker, Inc. for an excellent help system and set of both printed and electronic documentation. If you’ve never used FileMaker’s help resources or website, you’re missing a wealth of information. Both are fantastic places to learn, refresh your memory, or uncover areas of FileMaker you had no idea were there.
Sometimes, however, it’s nice to leave what’s on your screen unchanged, keep your work and your reference material separate, and be able to turn to actual paper. (It’s hard to take notes in the help system, for example!)
Some of this book may overlap a bit with the help system, especially in cases where there’s really nothing more to add: for example, as in the Abs()
function. Where we hope this book will prove useful is in the additional information and examples we’re able to provide, the fact that it’s collected all here on paper, and that it’s a bit more accessible during those times when you may not be in front of FileMaker or a laptop.
For those of you paying attention, you may note that we’ve made use of material presented in our 2004 Special Edition Using FileMaker 7 book (Que Publishing ISBN 0-7897-3028-6). We discovered that the prior book, aside from qualifying for its own ZIP Code, was struggling to serve two audiences: developers looking to find quick reference information and people trying to learn or understand the concepts behind developing systems in FileMaker Pro.
This desk reference is intended to be just that—a reference. It should serve beginners and experts alike and isn’t intended to be read from cover to cover. Rather, the intent is that you’ll look up functions you’ve forgotten, dog-ear useful pages, take notes, and find it a handy tool for building solutions quickly in FileMaker.
If you’d like to learn more about developing solutions in FileMaker, digest in-depth techniques, or get more background information, we hope you will find our companion volume, Special Edition Using FileMaker 8, helpful. In applicable locations, we’ve provided cross-references between the two books.
FileMaker 8 Functions and Scripts Desk Reference is divided into six parts, each of which can stand on its own.
This first part covers the nuts and bolts of FileMaker’s product family.
Part II details all FileMaker calculation functions, syntax, and usage.
Part III offers real-world examples of custom functions.
Part IV reviews FileMaker’s script steps and their options in detail.
Part V provides quick reference to commonly needed FileMaker facts.
fmsadmin
.Part VI will help you discover other ways to learn about FileMaker.
This book includes the following special features:
This book uses a few different typesetting styles, primarily to distinguish among explanatory text, code, and special terms.
Key (and possibly mouse) combinations that you use to perform FileMaker operations from the keyboard are indicated by presenting the Mac command first in parentheses followed by the Windows command in brackets: (-click) for Mac and [Ctrl+click] for Windows, for example.
Submenu choices are separated from the main menu name by a comma: File, Define, Value Lists.
Monospace type is used for all examples of FileMaker scripting. FileMaker scripts are not edited as text, but are instead edited through FileMaker’s graphical script design tool called ScriptMaker. As a result, scripting options that are presented visually in ScriptMaker need to be turned into text when written out. We follow FileMaker’s own conventions for printing scripts as text: The name of the script step comes first, and any options to the step are placed after the step name, in square brackets, with semicolons delimiting multiple script step options, as in the following example:
Show All Records
Go to Record/Request/Page [ First ]
Show Custom Dialog [Title: "Message window"; Message; "Hello, world!"; Buttons: "OK"]
We hope that anyone who develops FileMaker systems will find many aspects of this book useful. It’s a book we, the authors, will use in our day-to-day work, but that doesn’t mean it is limited to experts. The reference material is meant to be convenient and accessible to everyone.
Again, we’d like to plug our companion work, Special Edition Using FileMaker 8, as a good place to turn if you’d like to learn how to use FileMaker, explore more deeply the functionality and features within its suite of tools, and get information on data modeling, programming concepts, and how to approach building and deploying a FileMaker solution.