<?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: Is it possible to pass the result of a query as a function parameter? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888805#M98940</link>
    <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 15:54:57 GMT</pubDate>
    <dc:creator>guiroehe</dc:creator>
    <dc:date>2025-11-10T15:54:57Z</dc:date>
    <item>
      <title>Is it possible to pass the result of a query as a function parameter?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13887040#M98923</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wonder if it is possible to pass the result of a query as a parameter in a function call. If so, what is the specification for the variable in the function code? I tried with Table, but the function receives an invalid content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, how one tests if a query is NULL? objectexists(...) does not seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2025 23:10:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13887040#M98923</guid>
      <dc:creator>guiroehe</dc:creator>
      <dc:date>2025-11-08T23:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass the result of a query as a function parameter?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13887437#M98926</link>
      <description>&lt;P&gt;You can use a clone of the table result to cast it as an array and pass it as a variant parameter.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Nov 2025 14:18:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13887437#M98926</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2025-11-09T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass the result of a query as a function parameter?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888703#M98937</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15372678"&gt;@jason_lightfoot_adsk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you. It worked.&lt;/P&gt;&lt;P&gt;I am implying that this way the query looses its "table" characteristics, correct (column names, indexes, etc.)?&lt;/P&gt;&lt;P&gt;Thank you once more.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 14:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888703#M98937</guid>
      <dc:creator>guiroehe</dc:creator>
      <dc:date>2025-11-10T14:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass the result of a query as a function parameter?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888708#M98938</link>
      <description>&lt;P&gt;Yes - you lose that information in a array.&amp;nbsp; &amp;nbsp;You could alternatively create a Map of the table for better referencing and pass that to your function - try mapFromTable() &lt;A href="https://forums.autodesk.com/t5/flexsim-forum/how-to-add-all-values-from-global-table-to-a-map-variable/m-p/13587403" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 14:51:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888708#M98938</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2025-11-10T14:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass the result of a query as a function parameter?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888805#M98940</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 15:54:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/is-it-possible-to-pass-the-result-of-a-query-as-a-function/m-p/13888805#M98940</guid>
      <dc:creator>guiroehe</dc:creator>
      <dc:date>2025-11-10T15:54:57Z</dc:date>
    </item>
  </channel>
</rss>

