Access Basics:
Table Relationships

Title: Jan's Illustrated Computer Literacy 101

You finally have two tables that have a relationship. The relationship was created by the Lookup Wizard in the previous lesson.

Access will recognize matching fields between tables in some cases. In other situations you will have to show Access what fields to match and what kind of relationship it is: One-to-Many, Many-to-Many, or One-to-One.

Examples below are from starwars.mdb.


Relationships Window

Access provides a special window for viewing relationships. No tables are shown automatically. You must pick which ones you want to see.

 

Relationships window with its toolbar

Relationships window with its toolbar

Join lines connect the matching fields between tables. A line with a 1 at one end and the infinity symbol symbol for infinity at the other indicates a One-to-Many relationship for which Access will enforce referential integrity. That means that Access will make sure that you do not delete records that are referred to by records in another table.

Example of referential integrity: Access would not let you delete a supplier from the Suppliers table if that supplier's ID was included in Star Wars Collectibles table.


Where you are:
JegsWorks > Lessons > Databases

Before you start...

Project 1: Intro

Project 2: Access Basics Arrow: subtopic open
    InterfaceTo subtopics
    Getting StartedTo subtopics  
    Access ObjectsTo subtopics
    Relationships Arrow: subtopic open
    Icon: StepTable Wizard
    Icon: StepLookup Wizard
    Icon: StepTable Relationships
    Summary
    Quiz
    ExercisesTo subtopics

Project 3: Tables & Queries

Project 4: Forms & Reports


Search  
Glossary
  
Appendix