Database Reference
In-Depth Information
Organizing Your Scripts
Most mature databases end up with dozens, or even hundreds, of scripts that make life a lot
easier for the folks who use it. But developers don't usually have the luxury of creating
scripts in an order that makes sense for display in the Manage Scripts window. That's why
FileMaker gives you a suite of tools you can use to organize your scripts.
Creating Script Folders
In Figure 11-12 , you can see the Manage Scripts window from a database with a lot of
scripts. The window looks a little like a window on your operating system, where documents
are organized in folders. FileMaker lets you create folders for organizing your scripts that
same way. Not only can you give a new folder a descriptive name, but also, like folders on
your desktop, you can collapse them, so you don't have to scan a lengthy list of scripts to
find those under Reports.
Script folders make the Manage Scripts window nice and tidy, but they also organize the
Scripts menu. Any script you place inside a folder appears in a hierarchical (or pop-out)
menu when you click the Scripts menu.
To see how all this works, you need to create a few extra scripts in your sample file. But they
don't have to be real, working scripts. Just select your Find Unpaid Invoices script and then,
in the Manage Scripts window, click the Duplicate button a few times.
1. In the Manage Scripts window, select the top script in your list and then, at the
right edge of the New button, press the little arrow that's beside the New button
(see Figure 11-13 ) .
The New item pop-up menu appears.
2. Choose New Folder .
The Edit Folder dialog box appears.
Search WWH ::




Custom Search