User manual
Table Of Contents
- Chapter 1 Introducing FileMaker Pro
- Chapter 2 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
- Working with data in Table View
- Finding records
- Performing quick finds in Browse mode
- Making find requests in Find mode
- 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
- Viewing, repeating, or changing the last find
- Saving find requests
- Deleting and reverting requests
- 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 3 Creating databases
- Planning a database
- Creating a FileMaker Pro file
- Creating and changing fields
- Setting options for fields
- Creating database tables
- Creating layouts and reports
- Setting up a layout to print records in columns
- Working with objects on a layout
- Working with fields on a layout
- Working with parts on a layout
- Displaying data in charts
- Chapter 4 Working with related tables and files
- Chapter 5 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
- Setting up recurring imports
- 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
- Working with external data sources
- Publishing databases on the web
- Chapter 6 Protecting databases
- Protecting databases with accounts and privilege sets
- Creating accounts and privilege sets
- Viewing extended privileges
- Authorizing access to files
- Security measures
- Enhancing physical security
- Enhancing operating system security
- Establishing network security
- Backing up databases and other important files
- Installing, running, and upgrading antivirus software
- Chapter 7 Converting databases from FileMaker Pro 6 and earlier
- Index
Chapter 4
|
Working with related tables and files 99
Types of relationships
When you join two tables using a relationship, you establish criteria that FileMaker Pro uses to display or
access related records.
Your criteria can be simple, such as matching a field in Table A with a field in Table B, or more complex. A
more complex relationship definition will usually return a narrower set of related records. Examples of
complex relationships include using multiple match fields on one or both sides of the relationship,
comparing match fields using non-equal relational operators, or using calculated match fields.
Single-criteria relationships
In a single-criteria relationship, data in one field is matched to data in another field.
For example, a record in either table is related to any record in the other table when the values in the Client
ID field in the Clients table and the Client ID field in the Phone Numbers table are the same.
Use a single-criteria relationship when you want to relate two tables based on a single common value, such as a
serial number or an ID number. For example, a clients database has two tables: Clients, which stores names and
addresses, and Phone Numbers, which stores phone numbers and types of phone numbers, such as work, home,
fax, and so on. The data is split between two tables because a single client can have multiple phone numbers.
The tables have the following fields:
The Client ID field is the match field in the relationship between the two tables. In the Clients table, the
Client ID field is set to automatically enter a serial number, giving each record in the Clients table a unique
ID number. In the Phone Numbers table, the Client ID is just a simple number field.
Because the relationship is defined to allow the creation of related records in the Phone Numbers table, the
Client ID number from a Clients record will be automatically inserted in the Client ID field in the Phone
Numbers table in each new related record. This allows many records in the Phone Numbers table to be
related to a single record in the Clients table.
Users will be able to enter a phone number in an empty portal row, and FileMaker Pro will automatically
create a related record for that phone number.
Ta b l e Field name Comment
Clients Client ID Number field, auto-enter serial number. Match field for the Clients table
First Name Text field
Last Name Text field
Address1 Text field
Address2 Text field
City Text field
State Text field
Phone Numbers Phone Number Text field
Phone Number Type Text field
Client ID Number field. Match field for the Phone Numbers table
Match field Match field