<?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: Attribute Assistant: IIF and IsNull syntax in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-and-isnull-syntax/m-p/70052#M438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got some help from ESRI Support on this one...just needed to change the value method from FIELD to EXPRESSION and got the scripting to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 14:47:01 GMT</pubDate>
    <dc:creator>DarrenLacina1</dc:creator>
    <dc:date>2018-08-07T14:47:01Z</dc:date>
    <item>
      <title>Attribute Assistant: IIF and IsNull syntax</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-and-isnull-syntax/m-p/70051#M437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IIF and IsNull...have reviewed a number of posts here but I am having issues getting&amp;nbsp;my scripting to work.&amp;nbsp;&amp;nbsp;I am trying to build a rule to populate a&amp;nbsp;Name field based on values in one of a number of other fields, if there are non-null values in one of the other fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first test I am including one IIF statement.&amp;nbsp; If PARCELID is not null, I want to populate the&amp;nbsp;Name field with it's value.&amp;nbsp; Here is the syntax that is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.0pt;"&gt;IIF(IsNull([PARCELID]),Nothing,[PARCELID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Here is the info from the AA log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Row Info&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Row Number 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; TableName: ParcelFabric_Parcels&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; FieldName: Name&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ValueInfo: IIF(IsNull([PARCELID]),Nothing,[PARCELID])&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ValueMethod: FIELD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; On Create: 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; On Change: 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Checking for Subtype Restriction&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Field Name: Name was found at index: 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Trying: Field&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IIF(IsNull([PARCELID]),Nothing,[PARCELID]) &lt;STRONG&gt;is not found&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Finished: Field&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Instead of Nothing in the scripting, I have also tried Null and "&amp;lt;Null&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS 10.4.1, SQL Server 2014, Attribute Assistant 2017.3.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 20:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-and-isnull-syntax/m-p/70051#M437</guid>
      <dc:creator>DarrenLacina1</dc:creator>
      <dc:date>2018-07-18T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant: IIF and IsNull syntax</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-and-isnull-syntax/m-p/70052#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got some help from ESRI Support on this one...just needed to change the value method from FIELD to EXPRESSION and got the scripting to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 14:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-iif-and-isnull-syntax/m-p/70052#M438</guid>
      <dc:creator>DarrenLacina1</dc:creator>
      <dc:date>2018-08-07T14:47:01Z</dc:date>
    </item>
  </channel>
</rss>

