Show Navigation | Hide Navigation
You are here:
Tables and attribute information > Creating tables and managing attribute information

Relating tables

Release 9.3
Last modified April 24, 2009
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Creating tables and managing attribute information"


Related Topics

About relating tables

Note: This topic was updated for 9.3.1.

Relating tables simply defines a relationship between two tables. The associated data isn't appended to the layer's attribute table like it is with a join. Instead, you can access the related data when you work with the layer's attributes.

A relate is similar to a simple relationship class except it can involve data from different workspaces (such as a dBASE table can be related to a coverage) and is stored in a layer file or ArcMap document. If you already have a relationship class set up for your data, you can use it as you would a relate in ArcMap.

Relates can be used in the table and Identify windows to find data that is related to the selected record or records.

The following describes how relates behave when used in ArcMap:



Learn more about joining and relating tables.


How to relate tables

Relating the attributes in one table to another

  1. Right-click the layer you want to relate, point to Joins and Relates, and click Relate.
  2. You can also click the Options button on an open table window to access the Relate dialog box.
  3. Click the first drop-down arrow and click the field in the layer on which the relate will be based.
  4. Click the second drop-down arrow and click the table or layer to relate to, or load the table from disk.
  5. Click the third drop-down arrow and click the field in the related table on which to base the relate.
  6. Type a name for the relate.
  7. You'll use this name to access the related data.
  8. Click OK.
  9. The relate is now established between the two tables. The next topic discusses how to access records using the relate.

Tip

  • If a feature class in a geodatabase participates in a relationship class, that relationship class will be immediately available for use. You don't need to relate the tables in ArcMap.


Accessing related records

  1. Open the attribute table for which you've set up a relate.
  2. Select the records in the table for which you want to display related records.
  3. Click Options, point to Related Tables, and click the name of the relate you want to access.
  4. The related table displays with the related records selected.

Tips

  • Once you define a relate, you can access the related records from either table participating in the relationship.
  • You must set up a relationship before you can access related records. See "Relating the attributes in one table to another."
  • If your map contains layers from a geodatabase that participate in relationship classes, those relationship classes will be listed automatically along with any relates you define.


Managing related tables

  1. Right-click a layer or table in the table of contents and click Properties.
  2. Click the Joins & Relates tab.
  3. All the relates for the layer or table are listed on the right side of the dialog box. You can add new relates, remove existing ones, and view properties about the relates.


Removing a related table

  1. Right-click the layer containing a relate you want to remove and point to Joins and Relates.
  2. Point to Remove Relate(s) and click the relate you want to remove.

Tip

  • You can also click the Options button on an open table window to access the menu used to remove a relate.

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.