User manual

Table Of Contents
Chapter 4 | Working with related tables and files 92
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.
Relationships that return a range of records
A relationship that returns a range of records is similar to a multi-criteria relationship, except that
you use comparative operators to find records that are greater than one of your criteria and less
than your other criteria. This type of relationship is commonly used to return records that fall
between a range of dates or serial numbers.
For example, from within Table E you want to view all the records in Table F that have Date Field
F values that are greater than Starting Date E values and less than Ending Date E.
This relationship returns those records from Table F that have a Date Field F value that is later
than Starting Date
E and earlier than Ending Date E.
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
Relational
operator Matches these records
Greater than relational operator
Match field
Match field
Indicates that several different
relational operators are used in
this relationship
Match fields
Match field
This relationship uses the
greater than and less than
relational operators