<?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 Symbolizing based on related table? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/symbolizing-based-on-related-table/m-p/821812#M3777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to symbolize a feature based on attributes from a related table.&amp;nbsp; I've had success in the past using a definition query on the feature class I would like to symbolize, but am running into some difficulties this time.&amp;nbsp; My feature class (Coliform Sites) resides in our enterprise database.&amp;nbsp; The related tables are in a different SQL database that I have read-only access to.&amp;nbsp; I've used the definition query below to try and access the related table, but keep getting the pictured error.&amp;nbsp; I believe the problem is coming from the % within the table name.&amp;nbsp; I can't seem to find a way to escape out the special meaning of that character within my definition query dialog box.&amp;nbsp; Any recommendations for my current strategy to work, or recommendations for other methods used to symbolize features based on related table attributes would greatly be appreciated.&amp;nbsp; My next step will be to maneuver down several nested related tables.&amp;nbsp; I'm using ArcMap Desktop 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyQuery:&lt;/P&gt;&lt;P&gt;Code in (SELECT Site from SMv9.GISREADONLY.%CustomerSites_Details WHERE Site = '4-3F')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method I'm trying to utilize:&lt;/P&gt;&lt;PRE style="color: #242729; background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 5px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit;"&gt;OBJECTID in (SELECT JOINIDFIELD FROM RELATEDTABLE WHERE INSPECTIONRESULT = 'Failed')&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/426714_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2018 18:11:47 GMT</pubDate>
    <dc:creator>AdamMiller4</dc:creator>
    <dc:date>2018-10-30T18:11:47Z</dc:date>
    <item>
      <title>Symbolizing based on related table?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/symbolizing-based-on-related-table/m-p/821812#M3777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to symbolize a feature based on attributes from a related table.&amp;nbsp; I've had success in the past using a definition query on the feature class I would like to symbolize, but am running into some difficulties this time.&amp;nbsp; My feature class (Coliform Sites) resides in our enterprise database.&amp;nbsp; The related tables are in a different SQL database that I have read-only access to.&amp;nbsp; I've used the definition query below to try and access the related table, but keep getting the pictured error.&amp;nbsp; I believe the problem is coming from the % within the table name.&amp;nbsp; I can't seem to find a way to escape out the special meaning of that character within my definition query dialog box.&amp;nbsp; Any recommendations for my current strategy to work, or recommendations for other methods used to symbolize features based on related table attributes would greatly be appreciated.&amp;nbsp; My next step will be to maneuver down several nested related tables.&amp;nbsp; I'm using ArcMap Desktop 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyQuery:&lt;/P&gt;&lt;P&gt;Code in (SELECT Site from SMv9.GISREADONLY.%CustomerSites_Details WHERE Site = '4-3F')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method I'm trying to utilize:&lt;/P&gt;&lt;PRE style="color: #242729; background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 5px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit;"&gt;OBJECTID in (SELECT JOINIDFIELD FROM RELATEDTABLE WHERE INSPECTIONRESULT = 'Failed')&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/426714_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/symbolizing-based-on-related-table/m-p/821812#M3777</guid>
      <dc:creator>AdamMiller4</dc:creator>
      <dc:date>2018-10-30T18:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Symbolizing based on related table?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/symbolizing-based-on-related-table/m-p/821813#M3778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found some documentation for subqueries &lt;A href="http://pro.arcgis.com/en/pro-app/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm#GUID-F5320DB5-4E54-4D49-BF31-A58F5379ED9F"&gt;here&lt;/A&gt;.&amp;nbsp; If i'm reading this correctly, maybe its only possible to do something like this if the related table is withing the same enterprise database. Does anyone know that to be true/false?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/symbolizing-based-on-related-table/m-p/821813#M3778</guid>
      <dc:creator>AdamMiller4</dc:creator>
      <dc:date>2018-10-30T18:20:42Z</dc:date>
    </item>
  </channel>
</rss>

