<?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 Attribute Assistant:  Validate Attribute Look Up in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-validate-attribute-look-up/m-p/162059#M963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In another thread (&lt;A href="https://community.esri.com/thread/183415"&gt;Attribute Assistant: Check for Multiple Allowable Values&lt;/A&gt;&amp;nbsp;) things got really ugly for me &amp;nbsp;as I started getting unexplained errors and the whole thing tanked. &amp;nbsp;Turns out it was operator error for those, so rather than continue the discussion there, let's start fresh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to use a look up table to validate one field based on another: &amp;nbsp;When Field1 = A, Field2 &amp;nbsp;must = C . &amp;nbsp;It may also be that When Feild1 = A, Feild2 CAN equal C,D, or E. &amp;nbsp;The case where&amp;nbsp;a given City may have several valid Zip Codes is&amp;nbsp;an example; even simpler is the case for&amp;nbsp;a given city there can only be&amp;nbsp;one&amp;nbsp;ESN (emergency services number) and if the&amp;nbsp;editor enters&amp;nbsp;a mis-match, an error is tossed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The earlier discussion suggests that the Validate Attribute Look Up is the method for that. &amp;nbsp;I've tried and had a colleague try it as well, and neither of us can get it to behave as such. After reading and re-reading the online documentation, it appears to both of us&amp;nbsp;that this method isn't designed to do what I want. &amp;nbsp;It merely looks at a table of valid entries and sometimes will provide a pick list to choose from. &amp;nbsp;I say sometimes, because there are times when an invalid entry is tried, all you get back is a pop up with something to the effect of "Unable to add record". &amp;nbsp;That's pretty harsh if you've entered a bunch of attributes and fat finger the last one&amp;nbsp;just to&amp;nbsp;lose the whole entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long story short, it seems that I'm asking too much from the Attribute Assistant, and now I'm wondering if there is a method to use to check matched attribute values. &amp;nbsp;Nested iif's might work, but as indicated in this post,&amp;nbsp;&lt;A href="https://community.esri.com/thread/183208"&gt;IIF function in Dynamic Value table&lt;/A&gt;&amp;nbsp; it's easy to lose track of your&amp;nbsp;parentheses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/25908"&gt;Michael Miller&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 20:39:08 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2016-09-30T20:39:08Z</dc:date>
    <item>
      <title>Attribute Assistant:  Validate Attribute Look Up</title>
      <link>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-validate-attribute-look-up/m-p/162059#M963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In another thread (&lt;A href="https://community.esri.com/thread/183415"&gt;Attribute Assistant: Check for Multiple Allowable Values&lt;/A&gt;&amp;nbsp;) things got really ugly for me &amp;nbsp;as I started getting unexplained errors and the whole thing tanked. &amp;nbsp;Turns out it was operator error for those, so rather than continue the discussion there, let's start fresh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to use a look up table to validate one field based on another: &amp;nbsp;When Field1 = A, Field2 &amp;nbsp;must = C . &amp;nbsp;It may also be that When Feild1 = A, Feild2 CAN equal C,D, or E. &amp;nbsp;The case where&amp;nbsp;a given City may have several valid Zip Codes is&amp;nbsp;an example; even simpler is the case for&amp;nbsp;a given city there can only be&amp;nbsp;one&amp;nbsp;ESN (emergency services number) and if the&amp;nbsp;editor enters&amp;nbsp;a mis-match, an error is tossed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The earlier discussion suggests that the Validate Attribute Look Up is the method for that. &amp;nbsp;I've tried and had a colleague try it as well, and neither of us can get it to behave as such. After reading and re-reading the online documentation, it appears to both of us&amp;nbsp;that this method isn't designed to do what I want. &amp;nbsp;It merely looks at a table of valid entries and sometimes will provide a pick list to choose from. &amp;nbsp;I say sometimes, because there are times when an invalid entry is tried, all you get back is a pop up with something to the effect of "Unable to add record". &amp;nbsp;That's pretty harsh if you've entered a bunch of attributes and fat finger the last one&amp;nbsp;just to&amp;nbsp;lose the whole entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long story short, it seems that I'm asking too much from the Attribute Assistant, and now I'm wondering if there is a method to use to check matched attribute values. &amp;nbsp;Nested iif's might work, but as indicated in this post,&amp;nbsp;&lt;A href="https://community.esri.com/thread/183208"&gt;IIF function in Dynamic Value table&lt;/A&gt;&amp;nbsp; it's easy to lose track of your&amp;nbsp;parentheses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/25908"&gt;Michael Miller&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 20:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/attribute-assistant-validate-attribute-look-up/m-p/162059#M963</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-09-30T20:39:08Z</dc:date>
    </item>
  </channel>
</rss>

