22.11.2016 Views

microsoft-office-professional-2010-step-by-step

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

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

Creating Relationships Between Tables 817<br />

8. In the Customers field list, click CustomerID, and drag it down and over<br />

CustomerID in the Orders field list, releasing the mouse button when two<br />

little boxes, one containing a plus sign, appear below the pointer.<br />

The Edit Relationships dialog box opens.<br />

At the bottom of the dialog box, Access indicates that this will be a one-to-many relationship.<br />

9. Select the Enforce Referential Integrity check box, and then click Create.<br />

Access creates the link between the primary key in the Customers table and the<br />

foreign key in the Orders table, and a line now connects the two field lists on<br />

the Relationships page.<br />

The symbols at each end of the line indicate that each Customer ID value appears only once<br />

in the Customers table but can appear many times in the Orders table.

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

Saved successfully!

Ooh no, something went wrong!