fiendniu

Errors in SelectLayerByAttribute_management

Discussion created by fiendniu on Mar 21, 2012
Latest reply on Mar 22, 2012 by fiendniu
        arcpy.SelectLayerByAttribute_management(NearTable, "NEW_SELECTION",  "IN_FID in (" + str(NearFIDlst)[1:-1] + ")")
        arcpy.CopyRows_management(NearTable, "in_memory/selectedpoints")
        tempcur = arcpy.SearchCursor("in_memory/selectedpoints")


ExecuteError: ERROR 000358: Invalid expression

This one used to be good

some one can help? thanks

Outcomes