• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Creating Simple Scripts > Retaining Multiple Settings in a Script

Retaining Multiple Settings in a Script

Although you can simply edit the Options in a master script to change the sub-scripts you perform, it's more sensible to combine many similar actions into one script that automatically does them all at once. For example, in “To create a sub-script to find records,” we created four separate sub-scripts that broke out sales by different types of payment. Chances are that we'd like to print all four reports at once. Since FileMaker can't handle more than one set of restore options per script, you can't simply search for one criterion, add a Perform Find step, then repeat. Instead, ScriptMaker uses sub-scripts to keep all the settings separate from each other, and Perform Script to call them up when you need them.

In this example, we make a copy of the script we created in “To create a master script.” By duplicating and editing the original script steps, we make a new script which finds, sorts and prints several different reports. Although we create four report variations in our sample script, there's no limit to how many variations you can create in one script.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint