AnsweredAssumed Answered

How auto increment a field using a range?

Question asked by mazizij on Mar 4, 2017
Latest reply on Mar 4, 2017 by bixb0012

I have an empty table with an integer type field, let us call it "field1"

I want to populate field1 with numbers ranging from 1-5, so that my table looks like this

OBJECTID      FIELD1

1                        1

2                        2

3                        3

4                        4

5                        5

 

I have come across this example - How To: Create sequential numbers in a field using Python in the Field Calculator 

But do not know how to adapt it to fit my need.

 

Regards,

Outcomes