Linking to the Main Menu
If you create a Main Menu, you'll quickly discover its fatal weakness. You can almost instantaneously jump from the Main Menu to someplace else, but getting back to it, especially from external database files, is another story. To avoid confusion, you should provide easy access back from the linking layouts in external files.
To link to the Main Menu from layouts in different files
1 .Go to an external file that you want to link to the Main Menu. Choose Scripts > ScriptMaker (Control+Shift+S/ Command+Shift+S).2 .In the Define Scripts dialog box, click New. In the Edit Script dialog box, type a name for the script. We use Go to Main Menu.3 .In the step list on the left, double-click Perform Script.4 .In Script Step Options, click Specify. In the "Specify Script" Options dialog box, choose the file that contains the Main Menu layout from the drop-down list (Figure 9.30).
Figure 9.30. Set the Perform Script step to run a script in another file.

Figure 9.31. You must specify the file that contains the external script.

Figure 9.32. To switch to a particular layout in another file, you must perform a script.
