<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with Search Cursor in script in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/problem-with-search-cursor-in-script/m-p/667727#M22233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please use the code-tags (#-Button in the editor) and show me more of the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an errormessage?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is curSort?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sort_fields-string needs the A or D for ascending or descending order, it cannot be equal the fields-string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have fields for the coordinates or do you use the shape-field?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 12:22:28 GMT</pubDate>
    <dc:creator>FabianBlau</dc:creator>
    <dc:date>2012-09-25T12:22:28Z</dc:date>
    <item>
      <title>Problem with Search Cursor in script</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-with-search-cursor-in-script/m-p/667726#M22232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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.&amp;nbsp; This part of my script is correct? I think the error is here???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curSort = polyID + ";" + pointNumber&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inCur = arcpy.SearchCursor(selectedLayer, "", None, curSort, curSort)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone could give me some solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 19:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-with-search-cursor-in-script/m-p/667726#M22232</guid>
      <dc:creator>DianaJoaqui_Lopez</dc:creator>
      <dc:date>2012-09-24T19:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Search Cursor in script</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-with-search-cursor-in-script/m-p/667727#M22233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please use the code-tags (#-Button in the editor) and show me more of the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an errormessage?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is curSort?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sort_fields-string needs the A or D for ascending or descending order, it cannot be equal the fields-string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have fields for the coordinates or do you use the shape-field?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-with-search-cursor-in-script/m-p/667727#M22233</guid>
      <dc:creator>FabianBlau</dc:creator>
      <dc:date>2012-09-25T12:22:28Z</dc:date>
    </item>
  </channel>
</rss>

