Problem with Search Cursor in script

Discussion created by joaquil0 on Sep 24, 2012
Latest reply on Sep 25, 2012 by fabl
I work in a « Extracting distances and bearings » script (ArcGIS 10.1). I use « search cursor » to view field values in row, I can read the values in the fields, except Xcoord and Ycoord.  This part of my script is correct? I think the error is here???

curSort = polyID + ";" + pointNumber
inCur = arcpy.SearchCursor(selectedLayer, "", None, curSort, curSort)

Someone could give me some solution?