laptop and a wrench

Erro

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.

Última Publicação: August 16, 2019 ArcGIS for Desktop
Número de ID do Erro BUG-000111845
EnviadoFebruary 22, 2018
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.6
StatusWill Not Be Addressed

Informações Adicionais

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

Solução Provisória

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!)

Etapas para Reproduzir

ID do Erro: BUG-000111845

Software:

  • ArcGIS for Desktop

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download