Hello,
I preface by saying I know next to nothing about Python scripting. There...got that out of the way.
We would like to populate a "text" field called GISIDNUMBER with the following---CAP76. The number will vary and comes from the OBJECTID field.
In VB the script it would be written as "CAP" + [OBJIDTXT]. Whereby we added a new field converting the OBJECTID to text and called it OBJIDFIELD.
Could someone supply a Python script that would do the process all in one without creating a new field?
Thank you.
Jeff
Solved! Go to Solution.
One of these
"CAP" + str(!OBJECTID!)
"CAP{}".format(!OBJECTID!)
f"CAP{!OBJECTID!}" # only ArcGIS Pro
One of these
"CAP" + str(!OBJECTID!)
"CAP{}".format(!OBJECTID!)
f"CAP{!OBJECTID!}" # only ArcGIS Pro
Thank you, Johannes!!!
This worked perfectly.
You have a great day as well.
Jeff