User manual
Table Of Contents
- Preface Learning how to use FileMakerPro
- Chapter 1 FileMaker Pro basics
- Chapter 2 Adding and viewing data
- Chapter 3 Finding and sorting information
- Finding records
- Finding text and characters
- Finding exact matches in text fields
- Finding numbers, dates, and times
- Finding ranges of information
- Finding data in related fields
- Finding records that match multiple criteria
- Finding empty or non-empty fields
- Finding duplicates
- Finding all records except those matching criteria
- Hiding records from a found set and viewing hidden records
- Viewing, repeating, or changing the last find
- Sorting records
- Finding records
- Chapter 4 Previewing and printing information
- Chapter 5 Creating a database
- Chapter 6 Creating and managing layouts and reports
- Chapter 7 Customizing layouts
- Chapter 8 Working with related files
- Chapter 9 Protecting databases with passwords and groups
- Chapter 10 Creating scripts to automate tasks
- About scripts
- Creating scripts: an overview
- About ScriptMaker steps
- Control script steps
- Navigation script steps
- Sort, find, and print script steps
- Editing script steps
- Fields script steps
- Records script steps
- Windows script steps
- Files script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Changing scripts
- Duplicating, renaming, or deleting scripts
- Importing scripts
- Listing scripts in the Scripts menu
- Using buttons with scripts
- Example of a ScriptMaker script
- Chapter 11 Using formulas and functions
- Chapter 12 Importing and exporting data
- Chapter 13 Sharing databases on a network
- Chapter 14 Publishing databases on the Web
- About publishing databases on the Web
- How users work with databases on the Web
- What you need to publish databasesontheWeb
- Publishing databases on the Web: an overview
- Enabling FileMaker Pro Web Companion
- Configuring FileMaker Pro WebCompanion
- Enabling Web Companion sharing
- Setting up browser views
- Testing your published database
- About browser views for web publishing
- Chapter 15 Using ODBC with FileMakerPro
- Appendix A Customizing FileMaker Pro
- Appendix B Backing up and recovering files
- Appendix C FileMaker Pro Quick Reference (Windows)
- Appendix D FileMaker Pro Quick Reference (Mac OS)
- Index
8-4
FileMaker Pro User’s Guide
When the related file contains one matching record for each record
in the master file, place related fields directly on the layout and not
in a portal. Also place related fields directly on the layout when you
want to work with only the first matching record that’s accessed (in
sorted or unsorted order).
Keep these points in mind:
1 For information about creating portals, placing related fields on
layouts and in portals, and changing portals and related fields, see
“Deciding where to place related fields” on page 6-18.
1 You can also define relationships for use with value lists, to access
and display particular related values. (See “About displaying only a
subset of field values in a value list” on page 7-5.)
1 You can summarize data that’s in a portal. (See “Summarizing data
in portals” on page 8-12.)
When to create relationships between files
Whenever you want to use data from another file—either in a
relational database or for a lookup—you must first define and name
a relationship from the master file to the related file.
A relationship is an expression that includes the name of the match
field in the master file, the related filename, and the name of the
match field in the related file.
After you define a relationship, you can choose its name from the
relationship list as you work in the master file. The relationship list
is in all dialog boxes where you can select field names, such as the
dialog box for exporting FileMaker Pro data. (You can also use the
relationship list to define relationships.)
Once a connection is established between two files, you have access
to data that’s in the related file in any of the following ways:
1 Place one or more related fields directly on a layout of the master
file to display data from one related record for each record in the
master file (a one-to-one correspondence). For example, use a related
field to display the most recent check-out date for a piece of
equipment. (Related data displayed in the master file changes as the
data in the related file changes.)
1 Place a portal on a layout of the master file, then place one or more
related fields in the portal to display data from more than one related
record for each record in the master file (a one-to-many
correspondence). For example, use a portal in an Invoice file to
display all the products ordered by the same client. (Related data
displayed in the master file changes as the data in the related file
changes.)
Client ID
Name
Client ID
Name
Phone
City
Relationship
Match fields
Master file Related file
Relationship names in the
Define Relationship dialog box
Relationship list with
Products relationship
selected
Field names associated with
the selected relationship