laptop and a wrench

Error

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 publicación: August 16, 2019 ArcGIS for Desktop
Número de ID del error BUG-000111845
EnviadoFebruary 22, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.6
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000111845

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga