FileMaker 7 makes it easy to check the criteria you've set in Find, Sort, and other script steps. But if, for example, all of the fields that were used for the search don't appear in the current layout, you won't see an accurate picture of the Find settings, nor will you have any clue that this is the case.
There must be a better way, you're thinking. And there is, although it does require additional work on your part. You can insert comments in a script as a reminder of what the steps do. In fact, you can add any information as a comment, not just find and sort criteria. For this example, we add comments to a sub-script.
1 .
Choose Scripts > ScriptMaker (Control+Shift+S/Command+Shift+S).
2 .
In the Define Scripts list of scripts, highlight the name of the script you want to annotate and click Edit.
3 .When the Edit Script dialog box appears, select the step you want to explain in the script-assembly list (Figure 7.49).
4 .Scroll down to Miscellaneous in the step list, and double-click Comment (Figure 7.50). A new line beginning with a # symbol is inserted after the step.
5 .
In Script Step Options, click Specify to open the Specify input window.
6 .
Type the text of your comment (Figure 7.51). Although you can type as much as you want, keeping the comment short and sweet is best so it will fit on one line in the script-assembly list. When you're finished click OK.
7 .The comment will appear in the script steps list (Figure 7.52). Click OK, then OK again to finish.