O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Exploring Script Steps

Now that you know how to create scripts, it’s time to expand your repertoire. FileMaker has a script step for just about everything you can do from the menus and Status toolbar. You can use any combination of these steps with script techniques like looping, branching, custom dialog boxes, and more to automate just about anything FileMaker can do. Major areas of scripting include working with field data and records; finding, sorting, and working with windows and files; and printing. This chapter is a reference for some of the most commonly used steps—and boatloads of scripting possibilities.

Note

Download sample databases for this chapter from this book’s Missing CD page at www.missingmanuals.com/fmp14mm.

Go to Layout

You learned about the Go to Layout script step in the previous chapter. Its purpose is simple: Change layouts. It works just like making a choice from the Layout bar’s Layout pop-up menu, except that the script can go to any layout (even if it doesn’t show in the menu).

Go to Layout has just one option, a pop-up menu. Here’s how the options break down:

  • The Original layout option tells FileMaker to switch back to the layout that was active when the script started. After all, you can run lots of scripts anywhere, especially if they’re on the Script menu. Since scripts often change layouts as they run, this option makes sure folks end up back where they started.

  • The Layout option opens the Specify Layout window, from which you can choose any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required