<?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: Multiple Relationship Queries on a single QueryTask in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317950#M1599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Progress, yes.&amp;nbsp; I need to beef up my VB.&amp;nbsp; Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 13:00:31 GMT</pubDate>
    <dc:creator>JasonSweet</dc:creator>
    <dc:date>2012-02-24T13:00:31Z</dc:date>
    <item>
      <title>Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317944#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am new to ArcGIS and I am trying to query related records for two separate tables on a single feature. My problem is that when a relationship query is executed, I do not know which relationship completed in the event handler. Is there a way to determine which relationship has been executed within the QueryTask_ExecuteRealtionshipQueryCompleted event? That is without having to hard code it and look for the exact attributes returned from the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help or solutions would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heather&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317944#M1593</guid>
      <dc:creator>HeatherMeadow</dc:creator>
      <dc:date>2012-02-01T17:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317945#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, you can use UserToken to save any object that you want retrieved in the Completed event. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, from this SDK sample: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryRelatedRecords" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryRelatedRecords&lt;/A&gt;&lt;SPAN&gt;, you can add the following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.ExecuteRelationshipQueryAsync(relationshipParameters, relationshipParameters); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; void QueryTask_ExecuteRelationshipQueryCompleted(object sender, RelationshipEventArgs e) &amp;nbsp; { &amp;nbsp;&amp;nbsp; var rp = e.UserState as RelationshipParameter; &amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 22:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317945#M1594</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-02-02T22:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317946#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you! That worked great!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 17:40:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317946#M1595</guid>
      <dc:creator>HeatherMeadow</dc:creator>
      <dc:date>2012-02-10T17:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317947#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not new to Arc, but definitely not a programmer.&amp;nbsp; Could you give the code that would be used in VB?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 13:47:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317947#M1596</guid>
      <dc:creator>JasonSweet</dc:creator>
      <dc:date>2012-02-15T13:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317948#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A little more infor on what I'm hoping to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with the TreeView referenced above.&amp;nbsp; Because I'm querying related record in three tables from the selected feature, I made the RelatedRowsDataGrid a TabControl; one tab for each related table.&amp;nbsp; The multiple async queries seem to be working now using code similar to that above, but I'm having problems populating the 2nd and 3rd tabs with the info from those relationship queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317948#M1597</guid>
      <dc:creator>JasonSweet</dc:creator>
      <dc:date>2012-02-15T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317949#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SDK samples have VB version as well. As for the code below, you can try online conversion C# to VB. I think you're the same person that posted in Silverlight forum. It sounds like you're making progress already &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317949#M1598</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-02-22T18:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Relationship Queries on a single QueryTask</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317950#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Progress, yes.&amp;nbsp; I need to beef up my VB.&amp;nbsp; Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 13:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/multiple-relationship-queries-on-a-single/m-p/317950#M1599</guid>
      <dc:creator>JasonSweet</dc:creator>
      <dc:date>2012-02-24T13:00:31Z</dc:date>
    </item>
  </channel>
</rss>

