漏洞
漏洞 ID 编号 | BUG-000111845 |
---|---|
已提交 | February 22, 2018 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS for Desktop |
找到的版本 | 10.6 |
状态 | 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!)
漏洞 ID: BUG-000111845
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序