AnsweredAssumed Answered

I'M GETTING THIS ERROR "TypeError: cannot concatenate 'str' and 'int' objects"

Question asked by GISGURU_001 on Jul 2, 2013
Latest reply on Jul 2, 2013 by GISGURU_001
I was trying to construct the sql statement below to label a feature

lyr = arcpy.mapping.ListLayers(mxd, "Line_Clip")[0] for lblClass in lyr.labelClasses:     lblClass.SQLQuery = '"ParcelID"' + "=" + str(val) + "AND" + "Bearing" + ">" + 180 TypeError: cannot concatenate 'str' and 'int' objects


Please any help, thank you.

Outcomes