laptop and a wrench

不具合

The Replace All does not function in the attribute table when trying to convert a number to Null in the numeric type fields in ArcMap.

最後に公開された状態: August 16, 2019 ArcGIS for Desktop
不具合 ID 番号 BUG-000111845
送信されましたFebruary 22, 2018
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.6
ステータスWill Not Be Addressed

参考情報

This is as designed. A better solution is offered in ArcGIS Pro's Find & Replace (in development now).

対処法

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 for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動