Create a Script for this Report (New Layout/Report assistant)
In this panel, you can automate your report by creating a script for it. The script will switch to the layout you are currently creating, sort the records if you specified a sort order, and display the report in Browse mode.
To have FileMaker Pro create a script to rerun this report:
1.
Select Create a script.
2.
This is the script name that you will choose from the Scripts menu when you want to rerun this report.
3.
Optionally, select Run script automatically if you want FileMaker Pro to display an up-to-date report each time you open this layout.
Notes and tips
 •
 •
If you create a script, FileMaker Pro includes default steps that you can modify after you finish the assistant. For example, you can add or delete steps, delete or change the script name in the Scripts menu, or create a button on the layout to run the script.
 •
If you want to include only a certain subset of the records in the database when you run this report, you can edit the script to include a Perform Find script step after you finish the assistant.
Related topics 
Creating a layout