14.10.2013 Views

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Understanding lookups<br />

This term Means<br />

Using data from related files 10-3<br />

Match fields A field in the master file and a field in the related file that contain<br />

values you want to use to find matching records. (A match field is<br />

sometimes called a key field.)<br />

For lookups, the values in the match fields don’t have to be equal<br />

to each other. For example, you can set an option to copy the next<br />

lower value when the match fields aren’t equal.<br />

For relational databases, the values in the match fields must be<br />

equal to each other.<br />

Lookup source field<br />

(for lookups only)<br />

Lookup destination field<br />

(for lookups only)<br />

A field in the related file that contains the data you want to copy.<br />

It’s the field the data is copied from.<br />

A field in the master file that you want to contain the copied data.<br />

It’s the field the data is copied to.<br />

Relationship An expression you define that contains requirements which, when<br />

met, establish a relationship between values in the match fields. (A<br />

relationship is sometimes called a link or a join expression.)<br />

Related record A record in the related file whose match field (according to the<br />

relationship used) contains a value that’s equal to the value in the<br />

match field of the master file.<br />

Related field A field in the related file that contains data you want to access and<br />

work with in the master file. After a relationship has been<br />

established between data in the match fields, the data in a related<br />

field can then be used in the master file.<br />

You place a related field in a layout of the master file, either by<br />

itself or in a portal. You can then work with the related data in all<br />

modes.<br />

In the master file, a related field name appears as<br />

Relationship name::Related field name or as<br />

::Related field name<br />

Portal An object in a layout of the master file in which you can place<br />

related fields. Use a portal when you want to access and work with<br />

data from more than one related record in records of the master file.<br />

You only need to place related fields in a portal if you want to work<br />

with data from more than one related record.<br />

Portals display data from related records in rows, one record in<br />

each row.<br />

You look up data by first setting up a relationship between matching<br />

data in the master file and a related file, and then defining a lookup to<br />

copy data from a field in the related file into a field in the master file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!