User manual

Table Of Contents
Chapter 4 | Working with related tables and files 108
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.
For example:
Another example:
Self-joining relationships
A self-join is a relationship in which both match fields are defined in the same table. Define a self-
join to create relationships between records in the same table. Use a self-join in a portal on a
layout of the current table to display a subset of data that is in the current table, such as all the
employees of each manager.
If fields Contain values These related records are returned from Table F
Starting Date E 11/01/2014 11/14/2014
11/27/2014
Ending Date E 12/01/2014
If fields Contain values These related records are returned from Table F
Starting Date E 12/01/2014 12/02/2014
12/15/2014
12/17/2014
12/26/2014
Ending Date E 01/01/2015
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