<?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: Update Field status condition error in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/update-field-status-condition-error/m-p/1324477#M4544</link>
    <description>&lt;P&gt;Indent error.&amp;nbsp; you need to put one more space in front of else so that it is at the same indentation level of the if.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 18:06:32 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2023-08-31T18:06:32Z</dc:date>
    <item>
      <title>Update Field status condition error</title>
      <link>https://community.esri.com/t5/arcmap-questions/update-field-status-condition-error/m-p/1324472#M4543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I received intent error on simple code below. your attention is appreciated.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def update_status(h_id, a, o):
  if h_id is None:
     return a
 else:
    return o


update_status(!H_No!, "Available", "Occupied")&lt;/LI-CODE&gt;&lt;P&gt;intentation error using simple code below&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 18:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/update-field-status-condition-error/m-p/1324472#M4543</guid>
      <dc:creator>rajujee</dc:creator>
      <dc:date>2023-08-31T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update Field status condition error</title>
      <link>https://community.esri.com/t5/arcmap-questions/update-field-status-condition-error/m-p/1324477#M4544</link>
      <description>&lt;P&gt;Indent error.&amp;nbsp; you need to put one more space in front of else so that it is at the same indentation level of the if.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 18:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/update-field-status-condition-error/m-p/1324477#M4544</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-08-31T18:06:32Z</dc:date>
    </item>
  </channel>
</rss>

