Using arcpy.SelectLayerBy Attribute_management causing ArcMap 10.0.2 to freeze

Discussion created by infobleep on Sep 27, 2011
Latest reply on Sep 27, 2011 by infobleep
Hi there

I'm running ArcMap 10.0.2 and trying to execute the following command in the Python window but it keeps causes ArcMap to freeze.
arcpy.SelectLayerByAttribute_management ("Full area polygons layer outline only v5", "NEW_SELECTION", " [AREA_NAME] = 'AREA 3' ")
Does anyone know what I might be doing wrong? I'm I missing out a stage. I've not typed any other command along with it.

If I do the same by using the Select by attribute interactive window, it doesn't freeze.

Kind regards