Edit a relationship

If your Access database design changes, you might need to change a relationship between tables. In an Access desktop database, you do this by selecting the relationship in the Relationships window and then editing it. Changing a relationship in an Access web app is a different process, as explained later, in the section Edit a relationship in an Access web app.

To learn more about the ins and outs of relationships, see the article Create, edit or delete a relationship.

In this topic

Edit a relationship in an Access desktop database

Edit a relationship in an Access web app

Edit a relationship in an Access desktop database

  1. To see all the relationships between tables in a desktop database, on the Database Tools tab, click Relationships.

    Relationships command on Database Tools tab

  2. Click All Relationships.

    All tables with relationships are displayed, showing relationship lines.

  3. Carefully position the cursor so that it points to the relationship line that you want to edit, and then click the line to select it.

    Relationship line between fields in two tables

    The relationship line appears thicker when it is selected.

  4. With the relationship line selected, double-click it. The Edit Relationships dialog box appears.

    Edit Relationships dialog box

  5. Make your changes, and then click OK.

    The Edit Relationships dialog box allows you to change a table relationship. Specifically, you can change the tables or queries on either side of the relationship, or the fields on either side. You can also set the join type, or enforce referential integrity and choose a cascade option.

  6. When you are finished in the Relationships window, click Save to save all of your relationship layout changes.

Edit a relationship in an Access web app

The Relationships window isn't available in an Access web app. You use a field in one table as the source (lookup field) for values in the related field in another table.

  1. Open the table that contains the lookup you want to change by clicking Edit Table.

    Edit Table

  2. Select the field that gets its values from another table.

  3. On the Design tab, under Table Tools, click Modify Lookups.

  4. Follow the steps in the wizard to make the changes that you want. You can change the following:

    • The field that is the source of values

    • The sort order of the values

    • The width of the field, and whether to hide the key column

    • The label for the lookup field

    • Whether data integrity is enabled

    • If data integrity is enabled, whether deletes are cascaded or restricted

Want just the basics for creating or deleting relationships? See the following articles:

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.