User manual
Table Of Contents
- Preface Introducing FileMaker Pro
- Chapter 1 Using databases
- About database fields and records
- Opening files
- Opening multiple windows per file
- Closing windows and files
- Saving files
- About modes
- Viewing records
- Adding and duplicating records
- Deleting records
- Entering data
- Finding records
- Making a find request
- Performing quick finds based on data in one field
- Finding text and characters
- Finding numbers, dates, times, and timestamps
- Finding ranges of information
- Finding data in related fields
- Finding empty or non-empty fields
- Finding duplicate values
- Finding records that match multiple criteria
- Finding records except those matching criteria
- Deleting and reverting requests
- Viewing, repeating, or changing the last find
- Hiding records from a found set and viewing hidden records
- Finding and replacing data
- Sorting records
- Previewing and printing databases
- Automating tasks with scripts
- Backing up database files
- Setting preferences
- Chapter 2 Creating databases
- Chapter 3 Working with related tables and files
- Chapter 4 Sharing and exchanging data
- Sharing databases on a network
- Importing and exporting data
- Saving and sending data in other formats
- Sending email messages based on record data
- Supported import/export file formats
- ODBC and JDBC
- Methods of importing data into an existing file
- About adding records
- About updating existing records
- About updating matching records
- About the importing process
- Converting a data file to a new FileMaker Pro file
- About the exporting process
- Publishing databases on the web
- Chapter 5 Protecting databases with accounts and privilege sets
- Chapter 6 Converting FileMaker databases from previous versions
- Index
Chapter 3
|
Working with related tables and files 71
For more information about relationships, see Help.
Relational database terminology
Before you begin working with relational databases and lookups, you
should understand the following terms. These terms are explained in
the sections that follow.
Term Description
Current table For relational databases, the table that you are currently
working in.
For lookups, the table that the data is copied to.
External table A table outside of the current file, in another file.
Lookup target field
(for lookups only)
The field in a table that you want data copied to during a
lookup.
Lookup source field
(for lookups only)
The field in the related table that contains the data you
want copied during a lookup.
Match field A field in the current table and a field in a related table that
each contains values used to access matching records. (A
match field is sometimes called a key field.) For each
relationship, you select one or more match fields in each
table.
For relational databases, values in match fields must
match each other in some way for a relationship to be
established between the files. See “About match fields for
relationships” on page 72.
For lookups, values in match fields do not have to be equal
to match.
Portal A layout object that displays records from related tables.
Portals display data from related fields in rows, one record
in each row.
Related field A field in one table that is related to a field in another table
(or to a different field within the same table). If a
relationship has been created between two tables (even
through another table), data in fields in one table can be
accessed from the other table.
Related record A record in the related table whose match field (according
to the relationship used) contains a value that matches the
value in the match field of another table.
Related table For relational databases, the table that contains the data
you want to access and work with in the current table.
For lookups, the table that contains the data to copy.
A table can be related to itself. This is called a self-join.
Relational operators In the relationships graph, the symbols that define the
match criteria between one or more pairs of fields in two
tables. These include: equal (=), not equal (≠), greater than
(>), greater than or equal to (≥), less than (<), less than or
equal to (≤), and all rows, or cartesian product (X).
Relationship Relationships provide access to data from one table to
another. Relationships can join one record in one table to
one record in another table, one record to many other
records, or all records in one table to all records in another
table, depending on the criteria you specify when you
create the relationship in the relationships graph. (A
relationship is sometimes called a link or a join
expression.)
Relationships graph In the Relationships tab of the Define Database dialog
box, you can see the occurrences of tables both in the
current file and from any external, related database files.
In this relationships graph, you join tables and change
relationships between fields in different tables.
When you create a new table, a visual representation, or
occurrence, of the table appears in the relationships graph.
You can specify multiple occurrences (with unique
names) of the same table in order to work with complex
relationships in the graph.
Source file The file from which you add a table to the relationships
graph.
Source table The table upon which one or more tables in the
relationships graph are based. The source table is the table
defined in the Tables tab of the Define Database dialog
box.
Term Description