<?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: Problem with Table query using an alias in 2022 Update 1 in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497827#M13610</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Okay - it errors if you add a breakpoint to the code.&lt;/P&gt;&lt;P&gt;I think this is a known bug and has been reported before.  We'll make a note and this case too when it's fixed.  Thanks for pointing it out.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 May 2022 13:48:43 GMT</pubDate>
    <dc:creator>jason_lightfoot_adsk</dc:creator>
    <dc:date>2022-05-03T13:48:43Z</dc:date>
    <item>
      <title>Problem with Table query using an alias in 2022 Update 1</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497823#M13606</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;The following works well in version 2022 but fails in 2022 Update 1: &lt;/P&gt;
 &lt;P&gt;&lt;EM&gt;int aisleNumber = 1;&lt;/EM&gt;&lt;/P&gt;
 &lt;P&gt;&lt;EM&gt;Table queryTable = Table.query("SELECT * FROM RackNodes WHERE [Aisle #] == $1", aisleNumber);&lt;/EM&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;The following error is reported when the query is executed:&lt;/P&gt;
 &lt;P&gt;&lt;EM&gt;exception: SqlQuery - Unknown error in: SELECT * FROM RackNodes WHERE [Aisle #] == $1&lt;/EM&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Did something change in 2022 Update 1 with respect to table queries? I did not find anything in the release notes.&lt;/P&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 12:10:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497823#M13606</guid>
      <dc:creator>BGaskins8Y6PT</dc:creator>
      <dc:date>2022-05-03T12:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Table query using an alias in 2022 Update 1</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497824#M13607</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51614-testtablequeryalias-v220.fsm" target="_blank"&gt;TestTableQueryAlias_v22.0.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This quick test model suggests it's still working in 22.1.1.&lt;/P&gt;&lt;P&gt;Are you able to upload your model for us to take a look?  If needed you can change this question and mark it private so only FlexSim support can see it.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 12:22:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497824#M13607</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-03T12:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Table query using an alias in 2022 Update 1</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497825#M13608</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;The error does not occur when I run the FlexScript code from the script console but does when included in a custom code activity. Model is attached.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51615-tablequerytest.fsm" target="_blank"&gt;TableQueryTest.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 12:37:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497825#M13608</guid>
      <dc:creator>BGaskins8Y6PT</dc:creator>
      <dc:date>2022-05-03T12:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Table query using an alias in 2022 Update 1</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497826#M13609</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Thanks for the test model, but I don't get an error with that model in 22.1 either - it correctly reads the values from the table.  Are you using 22.1.1?&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 13:44:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497826#M13609</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-03T13:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Table query using an alias in 2022 Update 1</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497827#M13610</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Okay - it errors if you add a breakpoint to the code.&lt;/P&gt;&lt;P&gt;I think this is a known bug and has been reported before.  We'll make a note and this case too when it's fixed.  Thanks for pointing it out.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 May 2022 13:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/problem-with-table-query-using-an-alias-in-2022-update-1/m-p/13497827#M13610</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-03T13:48:43Z</dc:date>
    </item>
  </channel>
</rss>

