<?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 Help with Attibute assistant: expression IIF in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171301#M992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually i dont need to post on the forums, because a lot of my problems are allready coverd, but not this time....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Being very new to the functionality of the attribute assistant I can say I enjoy it very much. But I do have a problem when it comes to some exprseeions. Especially the IIF espression. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my situation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Field [elementsoort] = categories of features (input via domains)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field [jaar_grote_ingreep] = the year when an action is recuired (ie 2023, manual input) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got this to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IIF([elementsoort] = "hsA", ("eindkap " &amp;amp; [jaar_grote_ingreep]), "jaarlijks")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the expression I want gis to perform :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IIF([elementsoort] = "hsA" OR �??hwA OR �??esA�?� OR �??esB�?� OR �??hboA�?�, ("eindkap " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] = "hsB" OR �??hwB OR �??hboB�?�, ("afzetten " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] = �??db�?�, (�??schonen�?� &amp;amp; [jaar_grote_ingreep]), "jaarlijks" ) ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should work (right?), but this expression is too long. There should be a way to make it shorter, but I can't figure it out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the input would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am on windows 7, Arcmap 10.1 sp 1 for desktop, and the attribute assistant for 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 15:18:02 GMT</pubDate>
    <dc:creator>OscarKreekrug</dc:creator>
    <dc:date>2013-12-11T15:18:02Z</dc:date>
    <item>
      <title>Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171301#M992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually i dont need to post on the forums, because a lot of my problems are allready coverd, but not this time....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Being very new to the functionality of the attribute assistant I can say I enjoy it very much. But I do have a problem when it comes to some exprseeions. Especially the IIF espression. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my situation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Field [elementsoort] = categories of features (input via domains)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Field [jaar_grote_ingreep] = the year when an action is recuired (ie 2023, manual input) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got this to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IIF([elementsoort] = "hsA", ("eindkap " &amp;amp; [jaar_grote_ingreep]), "jaarlijks")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the expression I want gis to perform :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IIF([elementsoort] = "hsA" OR �??hwA OR �??esA�?� OR �??esB�?� OR �??hboA�?�, ("eindkap " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] = "hsB" OR �??hwB OR �??hboB�?�, ("afzetten " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] = �??db�?�, (�??schonen�?� &amp;amp; [jaar_grote_ingreep]), "jaarlijks" ) ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should work (right?), but this expression is too long. There should be a way to make it shorter, but I can't figure it out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the input would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am on windows 7, Arcmap 10.1 sp 1 for desktop, and the attribute assistant for 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171301#M992</guid>
      <dc:creator>OscarKreekrug</dc:creator>
      <dc:date>2013-12-11T15:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171302#M993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;K,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't help you with the expression, but I have very long expressions in my table as well. All I needed to do is, recreate the VALUEINFO field and I allowed 2000 characters. It might be a good idea to do the for future use and you can use your expression until somebody else can shorten it for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171302#M993</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-12-11T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171303#M994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tim, that could be a nice work around! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll post back here with the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kreekrug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 05:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171303#M994</guid>
      <dc:creator>OscarKreekrug</dc:creator>
      <dc:date>2013-12-12T05:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171304#M995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alas, I can paste the expression without problems now, but the expression is not working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am probebly doing something wrong with the OR parameter, but I have no idea how to fix this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still help welcome!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;K&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 07:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171304#M995</guid>
      <dc:creator>OscarKreekrug</dc:creator>
      <dc:date>2013-12-13T07:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171305#M996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To use an OR, you need to write a whole conditional statement.&amp;nbsp; Change all your OR's, example below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[elementsoort] = "hsA" OR �??hwA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[elementsoort] = "hsA" OR [elementsoort] = �??hwA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171305#M996</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2014-01-30T15:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171306#M997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your help Mike, much appriciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;K.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 06:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171306#M997</guid>
      <dc:creator>OscarKreekrug</dc:creator>
      <dc:date>2014-01-31T06:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Attibute assistant: expression IIF</title>
      <link>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171307#M998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using a little SQL in your expression might help to shorten it, but I can't be certain that it will work. Using the IN statement will eliminate the need to write so many elementsoort = "***" statements. The trick with the IN statement is making sure a text element is enclosed in quotes or apostrophes and separated by a comma. Using the IN with a numeric field does not require quotes or apostrophes, but does require a comma separator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IIF([elementsoort] IN ("hsA", â??hwA", â??esAâ?�, â??esBâ?�, â??hboAâ?�), ("eindkap " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] IN ("hsB", â??hwB", â??hboBâ?�), ("afzetten " &amp;amp; [jaar_grote_ingreep]), IIF([elementsoort] = â??dbâ?�, (â??schonenâ?� &amp;amp; [jaar_grote_ingreep]), "jaarlijks" ) ) )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 12:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/help-with-attibute-assistant-expression-iif/m-p/171307#M998</guid>
      <dc:creator>GIS-Cambria</dc:creator>
      <dc:date>2014-02-03T12:50:08Z</dc:date>
    </item>
  </channel>
</rss>

