Defining relationships

After you have defined two or more related tables, you should tell Access how the tables are related. You do this so that Access will be able to link all your tables when you need to use them in queries, forms, or reports.

Thus far in this chapter, you have seen how to build the main subject tables of the Contact Tracking database—Companies, Contacts, and Products. Before we define the relationships in this sample desktop database, you need to create a couple of linking tables that define the many-to-many relationships between the Companies and Contacts tables and between the Products and Contacts tables. Table 10-9 shows you the fields you need for the Company Contacts table that forms the “glue” between the Companies and ...

Get Microsoft Access 2013 Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.