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.
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).
5 .From the list of scripts in the external file, choose the Go to Main Menu script. (Figure 9.31). Click OK three times to finish.
6 .Follow the steps in "To create a button for a script" earlier in this chapter to add a button to the layout in the external file. In the Specify Button dialog box, select Perform Script from the list on the left and choose the Go to Main Menu script (Figure 9.32).