INLS261 Tools for Information LiteracyMicrosoft's Access logo and connnections

[UNC] [SILS] [REB] [How Stuff Works] [Web Style Guide] [ATN] [ITS Tips] [Other Lives] [links]

[starters] <previous session] [next session>

[RDBMS & tables] [relationships] [forms & simple queries] [more queries & reports] [lab]
[relationships] [subtask 5.2] [next time]

Relationships - the key to RDBMS

Primary and Foreign Keys

A relationship requires the primary key of one table be inserted as a foreign key in a second table.  The link between the two like attributes is the relationship.

Access Relationships Help

[top]

Types of relationships

one-to-one (unusual)

one-to-many (most common)

many-to-many (less common)

[top]

Creating a relationship in Access

[top]

Referential integrity

Referential integrity is a system of rules that ensure relationships between records in related tables are valid, and that you don't accidentally delete or change related data. For two tables to retain their referential integrity (that is, so that the relationship between them remains healthy and correct), you should always enforce it.

Cascades

[top]

Look Up Fields

Creating a look up field

In Design View.... (note how this example includes descriptions of each field to help the user understand the intent of the field)

Look Up Tables can be

[top]

© R.E. Bergquist