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.

10-10 <strong>FileMaker</strong> <strong>Pro</strong> User’s <strong>Guide</strong><br />

?<br />

Once a connection is established between two files, you then have<br />

access to data in the related file in any of the following ways:<br />

1 Define a lookup, to copy data from one related record for each record<br />

in the master file (establishing a one-to-one correspondence between<br />

data in the master file and data in the related file).<br />

1 Place one or more related fields in a layout of the master file, to<br />

display data from one related record for each record in the master file.<br />

This establishes a one-to-one correspondence between data in the<br />

master file and data in the related file.<br />

1 Add a portal in a layout of the master file, and then place one or more<br />

related fields in the portal to display data from more than one related<br />

records for each record in the master file. This establishes a one-tomany<br />

correspondence between data in the master file and data in the<br />

related file.<br />

Keep these points in mind:<br />

1 To define a relationship for a lookup, see “Defining a relationship for<br />

a lookup” on page 10-13. To define a relationship for a relational<br />

database, see “Defining relationships for a relational database” on<br />

page 10-21.<br />

1 Each relationship involves only one master file and one related file;<br />

however, you can define many relationships from a master file and<br />

many relationships to a related file. The related file of one<br />

relationship can be a master file for a different relationship.<br />

1 You can define many relationships between the same two files. For<br />

example, the relationships can specify different match fields.<br />

1 The match fields for a relationship can have different names; what<br />

determines that the relationship is established is that the fields have<br />

matching values. Be sure the fields are the same type and are indexed;<br />

otherwise, the relationship might not find the records you expect.<br />

1 You can define a relationship from one file to the same file (a selfjoin.)<br />

For example, use a self-join in a portal to display a subset of<br />

data in the current file, like all the employees of each manager.<br />

1 If the master file is protected with passwords, you must have the<br />

master password to define relationships. (See “Defining passwords”<br />

on page 7-11.)<br />

Choose <strong>FileMaker</strong> Help Index from the or Help menu, and then type:<br />

E relationships, understanding

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

Saved successfully!

Ooh no, something went wrong!