Skip to Content
FileMaker Pro 13: The Missing Manual
book

FileMaker Pro 13: The Missing Manual

by Susan Prosser, Stuart Gripman
June 2014
Beginner to intermediate
942 pages
31h 15m
English
O'Reilly Media, Inc.
Content preview from FileMaker Pro 13: The Missing Manual

Chapter 17. Advanced Scripting

Being familiar with FileMaker’s lengthy list of script steps is a great foundation, but putting together a workable script takes practice. Although some scripts are simple affairs, many scripts require forethought, planning, and organization. FileMaker gives you tools to help you write scripts and troubleshoot them when they aren’t working. Plus, you can organize and document your work as you go. In this chapter, you’ll pull these concepts together to learn how to write and manage complex scripts.

Note

Download this chapter’s sample file from this book’s Missing CD page at www.missingmanuals.com/cds/fmp13tmm. Use Invoices_START.fmp12 to work in and use Invoices_FINISHED.fmp12 to see the completed examples.

Commenting Scripts

When you look at a script someone else created—or you created a long time ago—you can’t always tell what the script does. To help keep things clear, add comments to your script. You add each comment by using a Comment script step. This step has just one option: the text of the comment itself. The Comment step is special for two reasons. First, it doesn’t do anything. Second, it appears in bold when you view your script in the Edit Script window.

Use comments to document anything important about the script. Here are some things you may want to include in a comment or set of comments:

  • What the script does

  • Who wrote the script

  • The date the script was written

  • The date, if any, the script was last edited

  • Who edited the script

  • Anything special ...

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 12: The Missing Manual

FileMaker Pro 12: The Missing Manual

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

FileMaker Pro 9: The Missing Manual

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

FileMaker Pro 14: The Missing Manual

Stuart Gripman, Susan Prosser
Professional C# 2008

Professional C# 2008

Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson

Publisher Resources

ISBN: 9781491901823Errata Page