<?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: Field Calculator error on ObjectID = 0, which doesn't exist(?) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641926#M36296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jayantar. Got it figured out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 19:59:39 GMT</pubDate>
    <dc:creator>johnpolo</dc:creator>
    <dc:date>2016-02-09T19:59:39Z</dc:date>
    <item>
      <title>Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641917#M36287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am adding a text/string field, "countyname", to a shapefile table. When I use Field Calculator to change the new fields to "Delaware", I get this error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculated value is invalid for the row with ObjectID = 0. For example, the calculated value may be too large for the field or you may be trying to add a string to a number field. This row will not be updated. Do you want to process the rest of the rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It goes on with a warning about what happens if I say yes or no. I select Yes and the process fails. I don't know why this is happening or why it's referring to ObjectID = 0, when there is no such ObjectID. ObjectID starts with 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 16:04:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641917#M36287</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T16:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641918#M36288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes field calculator is buggy. Are you in an edit session? Have you tried restarting ArcMap and making sure this file isn't open anywhere else? Sometimes it takes a few times and some troubleshooting to make the field calculator work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 16:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641918#M36288</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-02-09T16:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641919#M36289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also want to check your field properties to make sure the field type is string and length is 8 or greater. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 16:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641919#M36289</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-09T16:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641920#M36290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adrian, I was not in an edit session. I did restart ArcMap. The shape was only in ArcMap. Thanks for the suggestions, but I still have the problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:12:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641920#M36290</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T18:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641921#M36291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wes, yes, I selected text and 150 characters. I checked the properties to confirm. Thanks for the suggestion. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641921#M36291</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T18:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641922#M36292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure are enclosing your text in quotes?&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/using-the-calculate-field-tool.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/using-the-calculate-field-tool.htm"&gt;Using the Calculate Field tool—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641922#M36292</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-02-09T18:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641923#M36293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try exporting the shapefile to File GDB feature class, and work on it. Does the issue persist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:31:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641923#M36293</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-02-09T18:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641924#M36294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or even export it to a new shapefile, I suspect that an index file has somehow been set out of sync.&amp;nbsp; I have seen this before, so either to a geodatabase or a shapefile will either fix it or identify errors.&amp;nbsp; Should the file be a poly* type, then try running a repair geometry to ensure that there are no geometry errors which might foul up the indices.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641924#M36294</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-02-09T19:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641925#M36295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it: missing quotes.&lt;/P&gt;&lt;P&gt;*headdesk*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Wes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641925#M36295</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T19:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641926#M36296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jayantar. Got it figured out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641926#M36296</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T19:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641927#M36297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I missed something obvious: quotes. Thanks, Dan, for replying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 20:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641927#M36297</guid>
      <dc:creator>johnpolo</dc:creator>
      <dc:date>2016-02-09T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641928#M36298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why can't ArcGIS just come out and tell us what we are doing wrong?!? I have been there many times with the quotes thing. It happens to all of us...&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/641928#M36298</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-02-09T21:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator error on ObjectID = 0, which doesn't exist(?)</title>
      <link>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/1014004#M42935</link>
      <description>&lt;P&gt;Yes.. The problem was the missing of the quotes: In case of&amp;nbsp;&lt;SPAN&gt;adding a text/string field&amp;nbsp;&amp;nbsp;to a shapefile table, you should write like this:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;arcpy.CalculateField_management("Layer_Name","Column_Name", '"String/text_you_want_to_add"')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 17:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/field-calculator-error-on-objectid-0-which-doesn-t/m-p/1014004#M42935</guid>
      <dc:creator>LukacsDavid</dc:creator>
      <dc:date>2021-01-05T17:11:05Z</dc:date>
    </item>
  </channel>
</rss>

