Quantcast
Channel: Question and Answer » arcpy
Viewing all articles
Browse latest Browse all 767

Debugging ERROR 000358: Invalid expression from SelectLayerByAttribute?

$
0
0

I’m creating a script tool and using the SelectLayerBy Attribute function (below),

arcpy.SelectLayerByAttribute_management("cities_lyr", "NEW_SELECTION", '"CRIME_INDX" <= 0.02')

However, I keep getting this error – ERROR 000358: Invalid expression.

Can anyone please offer some clarity here.


Viewing all articles
Browse latest Browse all 767

Trending Articles