<?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 - Create works, Manual does not in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382655#M2317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand that the Coalesce function may not be "supported" per se, but isn't it odd that it works "On Create", but not on "Manual Only"? I was hoping maybe someone had some insight into that. I think I'll do some research into the msscriptcontrol to see if I can figure anything out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the feedback Mike.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 10:06:19 GMT</pubDate>
    <dc:creator>BillTen_Broeck</dc:creator>
    <dc:date>2014-04-03T10:06:19Z</dc:date>
    <item>
      <title>Attribute Assistant - Create works, Manual does not</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382653#M2315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an Expression method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LTRIM(COALESCE([ADDRNUM], "") + " " + COALESCE([ROADPREDIR],"") + " " + COALESCE([ROADNAME],"") + " " + COALESCE([ROADTYPE],"")&amp;nbsp; + " " + COALESCE([UNIT],""))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It runs just fine on "create", although it does throw an error in the log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression to be eval: LTRIM(COALESCE("4288", "") + " " + COALESCE("","") + " " + COALESCE("NEWBERRY","") + " " + COALESCE("RD","")&amp;nbsp; + " " + COALESCE("",""))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type mismatch: 'COALESCE'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the destination field DOES contain the correct data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the same expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LTRIM(COALESCE([ADDRNUM], "") + " " + COALESCE([ROADPREDIR],"") + " " + COALESCE([ROADNAME],"") + " " + COALESCE([ROADTYPE],"")&amp;nbsp; + " " + COALESCE([UNIT],"")) when run "manually" does NOT update the value when one of the fields (say ADDRNUM) is changed. It fails with the same error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression to be eval: LTRIM(COALESCE("4270", "") + " " + COALESCE("","") + " " + COALESCE("NEWBERRY","") + " " + COALESCE("RD","")&amp;nbsp; + " " + COALESCE("",""))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: evaluating the expression for feature in Address Points with OID of 162532&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type mismatch: 'COALESCE' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are from the same edit. I changed the ADDRNUM from 4288 to 4270, and that change was recognized in the second expression, but nothing was done to the destination field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this is understandable. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 16:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382653#M2315</guid>
      <dc:creator>BillTen_Broeck</dc:creator>
      <dc:date>2014-03-13T16:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Create works, Manual does not</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382654#M2316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bill,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have never tried the COALESCE function and not sure it is supported.&amp;nbsp; We are using the msscriptcontrol to evaluate the expression which is very limited.&amp;nbsp; Have you tried a simpler version of your statement make sure it works?&amp;nbsp; The "Expression" rule is the same, no matter how it is triggered.&amp;nbsp; Some rules have trigger event filters, but this one does not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 22:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382654#M2316</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2014-03-31T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Assistant - Create works, Manual does not</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382655#M2317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand that the Coalesce function may not be "supported" per se, but isn't it odd that it works "On Create", but not on "Manual Only"? I was hoping maybe someone had some insight into that. I think I'll do some research into the msscriptcontrol to see if I can figure anything out. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the feedback Mike.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 10:06:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-create-works-manual-does-not/m-p/382655#M2317</guid>
      <dc:creator>BillTen_Broeck</dc:creator>
      <dc:date>2014-04-03T10:06:19Z</dc:date>
    </item>
  </channel>
</rss>

