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
Importing and exporting data
12-3
Match fields must uniquely identify each entity in your database. For
example, in a database of people, you could use Social Security
Number, or Last Name, First Name, and Phone Number. Last Name alone
might identify more than one person, so it isn’t a good match field.
You also specify the fields you want to import. The contents of all
fields you select to import, in all matching records in the found set,
will overwrite data in the existing file, even if the field in the source
file is blank.
Only records in the found set in each file are involved in the import
update.
Important When you do an import update, data from matching
records in the source file overwrite existing data in the corresponding
record in the destination file. Make sure every field you import, in
every record you import, has data that you want to import.
This example shows which data imports for this pair of matching
records:
Keep these points in mind:
1 Match fields in the destination file cannot be container, summary,
unstored calculation, or global fields. The field type of match fields
should correspond to the type of data in the matching field. For
example, number fields should not be matched to fields or data
containing text.
1 If all specified match fields in a record are empty, that record will
not be updated.
1 If a record in the found set of the source file matches more than one
record in the found set of the destination file, all matching records in
the found set of the destination file will be updated.
1 If more than one record in the found set of the source file matches
a record in the found set of the destination file, the destination file
will be updated with the last matching record in the source file.
1 The found set after an update contains the records that were
updated (those that matched) and any new records added, regardless
of the found set before update.
Adding, replacing, or updating records in an existing file
1. If you’re replacing or updating records, make a backup copy of the
file you’re importing into.
Replacing and updating records overwrite data in your file and
cannot be undone.
2. If you’re replacing or updating records, make sure you’ve read
“About replacing data” on page 12-2 or “About updating records
with information from another document” on page 12-2.
3. If you’re importing records from a FileMaker Pro file, make sure
the found set in that file contains only the records you want to add,
replace, or update with.
4. Open the FileMaker Pro file you want to import records into.
1 If you’re replacing records in the file, make sure the found set
contains only the records you want to change. Sort the records so that
data from the correct record in the source file replaces data in each
record in the destination file.
Match fields are
indicated by
double arrows
123-456-7890
Source file
John
Q
Smith
456 New Rd.
Newtown
USA
123-456-7890
Destination file
John
Smith
123 Main St.
Anytown
USA
3/3/1960
(408) 555-6789
123-456-7890
After import update
John
Q
Smith
456 New Rd.
Newtown
USA
3/3/1960
ø
ø
ø
Before import update
Destination file
Fields that don’t import
are indicated by a null
symbol (ø)