User manual

Table Of Contents
Chapter 2 | Using databases 48
4. Click OK (Windows) or Print (Mac OS).
The field names, field types, and formulas or data entry options are printed for each selected table.
Printing the relationships graph
You can print a graphical representation of your database by printing the relationships graph.
1. Choose File menu > Manage > Database, then click the Relationships tab.
2. Click to display page breaks in the relationships graph.
3. Click to display the Print Setup (Windows) or Page Setup (Mac OS) dialog boxes.
4. Click Print.
5. In the Printing Options dialog box, choose an option.
1 Choose Print graph on multiple pages to print the graph on more than one page.
1 Choose Print graph on one page to resize the graph to fit on one page.
6. Click Continue.
7. Click OK (Windows) or Print (Mac OS).
For more information about previewing and printing databases, see Help.
Automating tasks with scripts
Scripts can do simple tasks like setting print orientation or complex tasks like preparing a
customized mailing to customers. Scripts can incorporate conditional decisions (if-else
statements) and perform repetitive tasks (loop statements).
You can build scripts in the Edit Script dialog box by selecting from a list of FileMaker Pro script
steps, specifying options, and arranging the steps in the correct order to perform the task.
Use scripts to combine and automate tasks like:
1 switching to another layout or mode
1 finding, sorting, and printing records
1 importing data from the same source
FileMaker Pro makes it easy for you to manage scripts. You can display a default script to use as a
template when writing your own scripts. You can open several scripts at once to compare them. You
can copy and paste entire scripts between files. You can copy and paste script steps from one script
to another script in the same file or to a script in a different file. You can assign scripts to groups to
make it easy to find scripts of a specific type (for example, copy an entire group of scripts to another
file or delete an entire group of scripts). And you can design scripts to run when a particular event
occurs (such as when users enter a field, press a key, or add a new record to the database).
Procedures for creating and managing scripts and a reference to all FileMaker Pro script steps
(organized alphabetically or by category) are available in Help.
In addition, you can set up script triggers to specify that scripts run when particular events occur.
For more information, see Help.