I have parcel, Buildings layers, without any information attribute table, and i want to replace "NULL" values with numbers form 1 to 2000, in "Parcel ID", or "Building ID" field thank you.
|
Here is a code block for the Field Calculator that will do what you require.
Accumulative and sequential calculations
This code sequence is taken from the ArcGIS 10.0 Desktop Help: Calculate Field Examples I would highly recommend that you browse through the help documentation in that file and in the other help sections for ArcGIS, as there are many useful examples and code samples to pull from. Edit ----------- Enter the code above, into the Field Calculator as shown in the screen shot below: You would enter the code into the sections as detailed below:
|
|||||||||||
|
|
Please somebody tell me how do we assign values after sorting a field. This method gives you only in the order of FID. There is one option in ArcGIS help using sort tool: http://support.esri.com/es/knowledgebase/techarticles/detail/38517 But, it will create a new shapefile. Thanks, |
|||
|
|
