<?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>idea Honor Definition Query When Joining Feature Classes in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idi-p/957673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, if a feature class has a definition query (feature class A), and is joined to another feature class (feature class B), only the matching records are displayed in the attribute table for the target feature class after the join (feature class B).&amp;nbsp; This behavior happens even if the "keep all records" option is selected when the join is created.&amp;nbsp; This is described as "expected behavior" in knowledge base article 17725, however, it makes tracking holes in the data much harder without extra steps.&amp;nbsp; It would be nice if the definition query on a feature class was inserted in the join logic to return all records in the original feature class (feature class B).&amp;nbsp; The current work around is to write a query in MS Access (that replaces the definition query in the feature class), then use an ODBC connection to&amp;nbsp;make the resulting&amp;nbsp;table from the Access query available in ArcMap.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;!-- content transformation source ID: 087E0000000kAfa --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2015 15:52:45 GMT</pubDate>
    <dc:creator>DaleVP</dc:creator>
    <dc:date>2015-11-13T15:52:45Z</dc:date>
    <item>
      <title>Honor Definition Query When Joining Feature Classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idi-p/957673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, if a feature class has a definition query (feature class A), and is joined to another feature class (feature class B), only the matching records are displayed in the attribute table for the target feature class after the join (feature class B).&amp;nbsp; This behavior happens even if the "keep all records" option is selected when the join is created.&amp;nbsp; This is described as "expected behavior" in knowledge base article 17725, however, it makes tracking holes in the data much harder without extra steps.&amp;nbsp; It would be nice if the definition query on a feature class was inserted in the join logic to return all records in the original feature class (feature class B).&amp;nbsp; The current work around is to write a query in MS Access (that replaces the definition query in the feature class), then use an ODBC connection to&amp;nbsp;make the resulting&amp;nbsp;table from the Access query available in ArcMap.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;!-- content transformation source ID: 087E0000000kAfa --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idi-p/957673</guid>
      <dc:creator>DaleVP</dc:creator>
      <dc:date>2015-11-13T15:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Honor Definition Query When Joining Feature Classes</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idc-p/957674#M8072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently had a scenario where i was joining a non-spatial table to a spatial feature class. The feature class layer had a definition query on and had 212 rows, the table had 290 rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joining the feature class to the table i.e. the table being the 'target' and the feature class being the 'join table' (ESRI's words not mine) and ticking keep all features (or whatever the words are) resulted in only 212 rows, not 290 because apparently the definition query on the feature class overrides the rows in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me (and to my ESRI support case officer), and to the rest of my team, this seems counter-intuitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my idea is either&lt;/P&gt;&lt;OL style="padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;flag the fact there is a definition query on the feature class and it will only return that many rows or&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;make it the same functionality as when there is no definition query.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a terrible feature to transfer to ArcGIS Pro - 5 years on from this original idea and it's exactly the same. A definition query should not override basic functionality. arcgis-pro-2.6&amp;nbsp;definition-query&amp;nbsp;#&lt;SPAN style="color: #8b8b8b; background-color: #ffffff;"&gt;definition query join&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 21:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idc-p/957674#M8072</guid>
      <dc:creator>SianDoherty1</dc:creator>
      <dc:date>2020-11-02T21:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Honor Definition Query When Joining Feature Classes - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idc-p/1230175#M22080</link>
      <description>&lt;P&gt;This idea has been closed as a duplicate of the Data Management Idea linked below. Don't worry, you can still show your support by commenting and adding kudos to the open idea. Thanks for your contributions!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-ideas/honor-definition-query-when-joining-feature/idi-p/924590" target="_self"&gt;Link to open Data Management Idea&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 19:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idc-p/1230175#M22080</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2022-11-09T19:57:46Z</dc:date>
    </item>
  </channel>
</rss>

