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
Chapter 8
Working with related files
There are times when one database file doesn’t suit all your data
management needs. Perhaps you have data in one file that you want to
use in another file. Or you’ve tried to expand a file by adding several
fields to it, and now the file’s subject has become unclear. Or you have
the same values in several files, and you’re constantly updating them
to keep them all the same. You can access data from other database
files by using relational databases and lookups.
This chapter explains how to:
1 create relational databases and lookups
1 define and change relationships between database files
1 set up advanced relational database structures, such as many-to-
many relationships
Displaying data from related files
When you have data in another file that you want to use in the current
file, you can access, display, and work with that data in two ways:
1 A relational database allows data from another file (or the same
file) to be displayed, edited, and used in the current file, without
having it copied to the current file. The data is always part of the
other file only. Data displayed in the current file changes whenever
the data in the other file changes.
1 A lookup copies data from another file into a field in the current
file. After the data is copied, it becomes part of the current file (and
remains in the file it was copied from). Data copied to the current file
doesn’t automatically change when the data in the other file changes.
To establish a connection between files for relational databases and
lookups, you first define a relationship, an expression that tells
FileMaker Pro how to match records in one file with records in
another file. Then you choose the fields that contain the data you
want to work with.
Note All files involved with relational databases and lookups must
be FileMaker Pro 5 files. (Files created with earlier versions of
FileMaker Pro may be used, but the files must be converted to
version 5 first.)
Lookups copy data from another file into the current
file, in fields that belong to the current file
R20Client ID
NY-ParisRoute
R20Client ID
NY-ParisRoute
In relational databases, data from another file is displayed
in the current file, in fields that belong only to the other file
R20Client ID
NY-ParisRoute
R20Client ID
NY-ParisRoute