BUG

Unable to calculate fields when tables or feature classes are joined

Last Published: February 18, 2022

Description

Note:
This article pertains to retired ArcGIS versions 9.x only. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

This issue is addressed in ArcGIS 9.0 Service Pack 2 (SP2).

If two tables are joined, Table B is joined to an origin Table A, there are issues when attempting to use the Calculate Field tool. In ArcCatalog, the geoprocessing scripting environment and ModelBuilder, it is not possible to calculate any field after two tables have been joined. In ArcMap, users are able to calculate fields in the origin table (Table A) but not the join table (Table B).

Cause

This is a known issue. This functionality is not supported in the 9.0 release, however, it is supported in the Service Pack 2 and subsequent ArcGIS releases.

Workaround

If the Service Pack 2 is unavailable, use the workaround below. If the information in a field from a separate table is needed to perform a calculation, the operation must be performed in ArcMap. Only fields in the origin table or feature class can be calculated.

  1. Right-click the table or feature class that contains the field to be calculated. Select Joins and Relates > Join. This opens the Join Data window. Fill in the input field in this window.
  2. Right-click the table with the field to be calculated and click Open after joining the tables. Find the field, right-click it and select Calculate Field. A warning prompt displays a message that it is calculating outside the edit environment and asks to continue. Click Yes. The Field Calculator window opens.
  3. In the Field Calculator window, select the field and build the desired expression. Click OK.
Note:
In ArcMap 10.x, the Field Calculator can only calculate values for fields in the origin table after a join. Refer to ArcMap: Reasons the Field Calculator might be disabled for more information.

Article ID:000006941

Software:
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic