<?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: how can I get the joined table field name to query the layer,after layer,table jo in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-i-get-the-joined-table-field-name-to-query/m-p/205587#M5367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are missing the part where you show how you get the featurePin...&amp;nbsp; Are you getting it from IFeatureLayer.FeatureClass.search or from IGeoFeatureLayer.DisplayFeatureClass.Search?&amp;nbsp; The former includes only the fields in the base feature class, the latter includes the join fields as per the documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 11:50:50 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2013-06-18T11:50:50Z</dc:date>
    <item>
      <title>how can I get the joined table field name to query the layer,after layer,table joined</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-i-get-the-joined-table-field-name-to-query/m-p/205586#M5366</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;&lt;SPAN&gt;I am able to programmatically&amp;nbsp; join a layer and a table, the way suggest at "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#/How_to_join_a_table_to_a_layer_in_ArcMap/00010000008t000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#/How_to_join_a_table_to_a_layer_in_ArcMap/00010000008t000000/&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to now programatically get only the rows that were joined. or the count of the rows only joined. ie. if the layer had a "CITYID" field&amp;nbsp; joined to "CID" field of the table. may be only 10 rows had the same "CITYID" as the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or how can I refer the "CID" after the join in the where clause of the layer query. If I use&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; featurePin.Fields.FindField("CITY.CID") it returns '-1' ie. the cfield does not exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can I get the joined table field name&amp;nbsp; to query the layer, after the layer and table were join&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ed programmatically(VBA)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:50:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-i-get-the-joined-table-field-name-to-query/m-p/205586#M5366</guid>
      <dc:creator>arct</dc:creator>
      <dc:date>2013-06-18T07:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: how can I get the joined table field name to query the layer,after layer,table jo</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-i-get-the-joined-table-field-name-to-query/m-p/205587#M5367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are missing the part where you show how you get the featurePin...&amp;nbsp; Are you getting it from IFeatureLayer.FeatureClass.search or from IGeoFeatureLayer.DisplayFeatureClass.Search?&amp;nbsp; The former includes only the fields in the base feature class, the latter includes the join fields as per the documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 11:50:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-can-i-get-the-joined-table-field-name-to-query/m-p/205587#M5367</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-06-18T11:50:50Z</dc:date>
    </item>
  </channel>
</rss>

