Add a field containing a unique value for each record

Last Published: April 25, 2020


Steps to add a unique values field to a table.


  1. Click Table > Start Editing.

    ArcView cannot edit Delimited Text tables. You must convert Delimited Text tables to the dBase or INFO format. See Related Information below.

  2. Click Edit > Add Field.
  3. Type Unique_ID in the Name text box on the Field Definition dialog box.
  4. Select Number under the Type dropdown list.
  5. Type 10 in the Width text box.
  6. Type 0 (zero) in the Decimal Places text box.
  7. Click OK.
  8. Click Field > Calculate.
  9. Type rec in the large text box at the bottom of the Field Calculator.
    Field Calculator

    [O-Image] Field Calculator
  10. Click OK.
  11. Click Table > Stop Editing.
  12. Click Yes when asked to save edits.

Article ID:000001992

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic