<?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: Issue creating a QueryTable using the OpenQueryTable() method. in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-a-querytable-using-the/m-p/1665111#M13251</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;I don’t see any obvious issues with the code. To help debug further, could you share how you are creating QueryDef? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The Mobile datastore supports this functionality.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 Nov 2025 14:56:00 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2025-11-12T14:56:00Z</dc:date>
    <item>
      <title>Issue creating a QueryTable using the OpenQueryTable() method.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-a-querytable-using-the/m-p/1656193#M13185</link>
      <description>&lt;P&gt;Hello, I'm having some difficulty creating a QueryTable using the &lt;EM&gt;OpenQueryTable&lt;/EM&gt; method associated with the &lt;FONT face="courier new,courier"&gt;Geodatabase&lt;/FONT&gt; class. Does this method work with mobile geodatabases? The API documentation shows examples using an enterprise geodatabase.&lt;/P&gt;&lt;P&gt;In the code below, the &lt;FONT face="courier new,courier"&gt;QueryDef&lt;/FONT&gt;&amp;nbsp;that I use to create the &lt;FONT face="courier new,courier"&gt;QueryTableDescription&lt;/FONT&gt; object has already been tested successfully (with a row cursor):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                 QueryDef queryDef = new QueryDef()
                 {
                     SubFields = selectFields,
                     Tables = selectTables,
                     WhereClause = whereClause
                 };

                 // Prepare a QueryTableDescription object used to create a Query Table.
                 QueryTableDescription queryTableDescription = new QueryTableDescription(queryDef)
                 {
                     Name = "TestTable"
                     PrimaryKeys = geodatabase.GetSQLSyntax().QualifyColumnName("SEGMENTS", "OBJECT_ID")
                 };

                 // Create the Query Table
                 Table queryTable = geodatabase.OpenQueryTable(queryTableDescription);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The .&lt;EM&gt;OpenQueryTable()&lt;/EM&gt; method keeps throwing the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRJ1_2-1759928721182.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141550iCAEBE74FEB82B1C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRJ1_2-1759928721182.png" alt="MRJ1_2-1759928721182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 13:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-a-querytable-using-the/m-p/1656193#M13185</guid>
      <dc:creator>MRJ1</dc:creator>
      <dc:date>2025-10-08T13:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue creating a QueryTable using the OpenQueryTable() method.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-a-querytable-using-the/m-p/1665111#M13251</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;I don’t see any obvious issues with the code. To help debug further, could you share how you are creating QueryDef? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The Mobile datastore supports this functionality.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Nov 2025 14:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issue-creating-a-querytable-using-the/m-p/1665111#M13251</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2025-11-12T14:56:00Z</dc:date>
    </item>
  </channel>
</rss>

