<?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: UpdateCursor.Reset() method not working. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436186#M34270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree the documentation could be more clear. It does state, or rather omits, that reset() is not a supported method here, under "The Cursor Object".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001q000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001q000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 12:31:55 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2012-04-25T12:31:55Z</dc:date>
    <item>
      <title>UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436181#M34265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the .Reset() method to re-iterate through a list of records in a featureclass but it isn't working.&amp;nbsp; The first loop executes perfectly but when it gets to the second loop it doesn't start...the 'row' object is 'None'.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done a bunch of searches trying to see if I am calling the reset method incorrectly but it appears as everything is fine.&amp;nbsp; Any help or suggestions would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rows = gp.UpdateCursor(lyrInput,'','','','FIRST_ A')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;row = rows.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ### do something&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rows.reset()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;row = rows.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ### do something else&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 15:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436181#M34265</guid>
      <dc:creator>NeilOllerhead</dc:creator>
      <dc:date>2011-02-28T15:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436182#M34266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The training course notes suggest that all the Reset methods are to be implemented "in the future".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Meanwhile you have to close the cursor and reopen it to get the equivalent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 02:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436182#M34266</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2011-03-01T02:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436183#M34267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do confirm, reset doesn't work !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 20:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436183#M34267</guid>
      <dc:creator>OlivierOlivier</dc:creator>
      <dc:date>2011-07-08T20:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436184#M34268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's been in the documentation as far back as 2005 and has never worked! :mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436184#M34268</guid>
      <dc:creator>RDHarles</dc:creator>
      <dc:date>2011-07-11T15:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436185#M34269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do confirm, reset still doesn't work !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 07:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436185#M34269</guid>
      <dc:creator>xuzhe</dc:creator>
      <dc:date>2012-04-25T07:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: UpdateCursor.Reset() method not working.</title>
      <link>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436186#M34270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree the documentation could be more clear. It does state, or rather omits, that reset() is not a supported method here, under "The Cursor Object".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001q000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001q000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 12:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/updatecursor-reset-method-not-working/m-p/436186#M34270</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-04-25T12:31:55Z</dc:date>
    </item>
  </channel>
</rss>

