Remember that Access is a relational database. Objects in your database are related to one another through relationships defined by common fields between tables. There are three types of relationships: one-to-many, one-to-one, and many-to-many.
One-to-many relationships are the most common. In a one-to-many relationship, the primary table contains a primary key field that is included as a field (the foreign key) in the secondary table. Thus, one record in the first table can relate to many records in the second table. When these fields have the same names, Access automatically creates the one-to-many relationship for you. However, the fields may have different names. In those cases, you may want to manually create the relationship using the relationships windows.
To view and define relationships between tables:
To display a table or query that isn't already showing in the relationships window:
|
|
You can delete relationships between tables. In the relationships window, right-click on the relationship line and select Delete from the shortcut menu. Be careful when deleting relationships. |
|
To open the Relationships window, you can also:
|