User manual

Table Of Contents
Chapter 4 | Working with related tables and files 107
Because the relationship is defined to allow the creation of related records in the Catering Line
Items table, you will be able to enter catering information in an empty portal row, and
FileMaker
Pro will automatically create a related record for that catered event.
Relationships using comparative operators
In a comparative relationship, you use one or more of the following operators to compare match
field values in the two related tables. The relationship returns related records when the
comparison evaluates successfully, according to the criteria you establish.
In this example, the Promotion Date fields in the Sales Promotions table and the Customers table
are match fields. If a record in the Sales Promotions table has a Promotion Date value of
12/11/2014, all the records in the Customers table with a Promotion Date value of 12/10/2014 or
earlier are related to it. In the Customers table, if a record has a Promotion Date value of
12/11/2014, all records in the Sales Promotions table with Promotion Date values of 12/12/2014
or later are related to it.
Catering Line Items Customer ID Number field; one of the match fields to the Customers table
Event Date Date field; the other match field to the Customers table
Equipment ID Number field
Relational
operator Matches these records
= Values in match fields are equal
Values in match fields are unequal
< Values in the left match field are less than values in the right match field
Values in the left match field are less than or equal to values in the right match field
> Values in the left match field are greater than values in the right match field
Values in the left match field are greater than or equal to values in the right match field
x All records in the left table are matched to all records in the right table, regardless of the values
in the match fields
Table Field name Comment
Select to allow creation of related
records in Catering Line Items table
Greater than relational operator
Match field
Match field