Bug
Bug ID Number | BUG-000111845 |
---|---|
Submitted | February 22, 2018 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS for Desktop |
Version found | 10.6 |
Status | Will Not Be Addressed |
A Python query can achieve this. However, this query only works on one field at a time.
In the Field Calculator, select the Python parser, and check the Show Codeblock check box.
In the Pre-Logic Script Code box, copy and paste the following code:
def updateValue(value):
if value == 0:
return None
else: return value
Type the following code in the second box, and replace '!Field_Name!' with the field name from the fields list, as required:
updateValue(!Field_Name!)
Bug ID: BUG-000111845
Software:
Get help from ArcGIS experts
Download the Esri Support App