<?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: AttributeError: 'Cursor' object has no attribute 'UpdateRow' in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567554#M44472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;dump the capital u in updateRow&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;BR /&gt;case-sensitive is Python Yoda says&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the solution. The code working now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 23:09:37 GMT</pubDate>
    <dc:creator>mohd_syafidabdullah</dc:creator>
    <dc:date>2012-01-26T23:09:37Z</dc:date>
    <item>
      <title>AttributeError: 'Cursor' object has no attribute 'UpdateRow'</title>
      <link>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567552#M44470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guru,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm newbie in python. I'm trying to update the row in FC using this code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
import arcpy
from arcpy import env

fc_input = "C:\GIS\syafid.gdb\Alamat_Pos"
rowUpdate = arcpy.UpdateCursor(fc_input)
rowUpd = rowUpdate.next()
space = " "

while rowUpd:
&amp;nbsp;&amp;nbsp;&amp;nbsp; address = rowUpd.getValue("BUILDING_NUMBER") + space + rowUpd.getValue("STREET_NAME") + space + rowUpd.getValue("PRECINCT_ID") + space + rowUpd.getValue("POST_CODE") + space + rowUpd.getValue("STATE_NAME")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print rowUpd.objectID_1,address
&amp;nbsp;&amp;nbsp;&amp;nbsp; rowUpd.setValue("ALAMAT_POS",address)
&amp;nbsp;&amp;nbsp;&amp;nbsp; rowUpdate.UpdateRow(rowUpd)

del rowUpd,rowUpdate

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the error like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
IDLE 2.6.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==== No Subprocess ====
&amp;gt;&amp;gt;&amp;gt; 
1 004 Jalan P8A/5 P08 0 Putrajaya
Traceback (most recent call last):
&amp;nbsp; File "D:\python_code\postal_address.py", line 14, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rowUpdate.UpdateRow(rowUpd)
AttributeError: 'Cursor' object has no attribute 'UpdateRow'
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps guru can guide me the right code..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 22:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567552#M44470</guid>
      <dc:creator>mohd_syafidabdullah</dc:creator>
      <dc:date>2012-01-26T22:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'Cursor' object has no attribute 'UpdateRow'</title>
      <link>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567553#M44471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dump the capital u in updateRow&lt;/SPAN&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;BR /&gt;&lt;SPAN&gt;case-sensitive is Python Yoda says&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 22:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567553#M44471</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-01-26T22:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'Cursor' object has no attribute 'UpdateRow'</title>
      <link>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567554#M44472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;dump the capital u in updateRow&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;BR /&gt;case-sensitive is Python Yoda says&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the solution. The code working now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 23:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attributeerror-cursor-object-has-no-attribute/m-p/567554#M44472</guid>
      <dc:creator>mohd_syafidabdullah</dc:creator>
      <dc:date>2012-01-26T23:09:37Z</dc:date>
    </item>
  </channel>
</rss>

