Select to view content in your preferred language

Syntax to add one value to numeric field

2778
2
Jump to solution
10-03-2014 02:12 PM
ReneeGerasimtchouk
Deactivated User

I have an incremental numeric field that starts with 1 and goes to 400, not unique, meaning there can be numerous 1's and only one 5 and so on. Hence, these were not autonumbers. Is there a syntax (or a way) to add one value to all such as change all 1's to 2's, all 2's to 3's, etc?

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

use the field calculator and add 1 to the values of the field ie in the python parser it would be

!YourFieldNameHere! + 1

View solution in original post

2 Replies
DanPatterson_Retired
MVP Emeritus

use the field calculator and add 1 to the values of the field ie in the python parser it would be

!YourFieldNameHere! + 1

ReneeGerasimtchouk
Deactivated User

That was super easy, thanks! I just switched to ArcMap from GeoMedia and was unsure of where to start. Thanks again!

0 Kudos