User manual

Table Of Contents
Chapter 4
|
Working with related tables and files 103
By default, the relationships graph displays all of the tables in your current database file. You can add tables
from other FileMaker Pro files or external ODBC data sources, add more than one occurrence of the same
table to the graph, or remove tables from the graph using the buttons at the bottom of the graph.
Note When the table is from an external ODBC data source, the name of the table is typeset in italics in the
relationships graph. To display information about the external data source, move the pointer over the arrow
to the left of the table name.
Creating relationships
To create a relationship:
1. With the database open, choose File menu > Manage > Database.
2. In the Manage Database dialog box, click the Relationships tab.
3. In the relationships graph, locate the two tables you will be using for this relationship.
They can appear anywhere on the graph but they must be present on the graph in order to create the
relationship. For self-joining relationships, locate the single table; FileMaker
Pro will create the second
table occurrence for you.
4. Click a field in one of the tables and drag to the corresponding match field in the other table.
Or, you can click to open the Edit Relationship dialog box and create a relationship.
5. Repeat step 4 for each match field you intend to use in this relationship.
For more information about match fields, see “About match fields for relationships” on page 98.
6. Click OK to save your changes and close the relationships graph.
Add a table
Create a relationship
Edit a selected object
Delete selected objects
Enlarge or reduce the
view of the graph
Change the alignment
of selected objects
Move the pointer to
the arrow icon to
display the names of
the source table and
source file
Click once to collapse all but
the match fields. Click again to
collapse all but the table name.
Click again to return the table to
its original size
Show page breaks
Display the Print Setup
(Windows) or Page Setup
(Mac OS) dialog box
Change the color of selected
objects
Add a text note to the graph
Duplicate selected objects
Show 1-away tables or tables
with the same source
Click to display or
collapse a text note
Match fields are shown in
italics in their tables
The relationships graph