david.rahe

Field Calculator Sequential Numbering related to a Field

Discussion created by david.rahe on Feb 22, 2011
Latest reply on Feb 24, 2011 by rdharles
Hi there,
I need to number Features sequentially, with the Python Script I found here, everything works fine and my Table was numbered from 1 to 2436. For further processing it would be nice if I could number Features in relation to a Field in the Table. I have Categories from 1 to 7 in my table and numbering should start in each Category at 1 and numbers sequentially.

i.e. like this:

Category ---  New_Number
1 ---------------1
1 ---------------2
1 ---------------3
1 ---------------4
2 ---------------1
2 ---------------2
3 ---------------1
3 ---------------2
3 ---------------3
3 ---------------4


Thanks so far

Outcomes