<?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 How initialize Variables through Table Box selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239609#M90215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My general idea is following:&lt;BR /&gt;User have on the sheet 2 Table Box&lt;BR /&gt;1st - with parameters (ObjectID = &lt;STRONG&gt;&lt;EM&gt;"tblParam"&lt;/EM&gt;&lt;/STRONG&gt;)&lt;BR /&gt;2nd - result set (ObjectID = &lt;STRONG&gt;&lt;EM&gt;"tblResult"&lt;/EM&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;When user select (click) any row in &lt;STRONG&gt;&lt;EM&gt;"tblParam"&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;initialize the variables (&lt;EM&gt;vParam1, vParam2, vParam3&lt;/EM&gt;) and reload SQL-query related with &lt;STRONG&gt;"tblResult"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Edit script has following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sqlTblParam:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; SQL SELECT 1 as Param1, 120 as Param2, 0.51 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 1 as Param1, 120 as Param2, 0.52 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 2 as Param1, 120 as Param2, 0.5 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 3 as Param1, 120 as Param2, 0.5 as Param3;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sqlTblResult:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; SQL SELECT * FROM tblData WHERE Param1 = &lt;STRONG&gt;$(vParam1)&lt;/STRONG&gt; and Param2 = &lt;STRONG&gt;$(vParam2)&lt;/STRONG&gt; and Param3 = &lt;STRONG&gt;$(vParam3)&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;I see this implementation so:&lt;BR /&gt;Step 1 - after user choice I need initialisation the variables &lt;EM&gt;(vParam1, vParam2, vParam3)&lt;/EM&gt;&lt;BR /&gt;Step 2 - Reload sqlTblResult&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please give me hint how can I do this idea?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 11:43:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-13T11:43:50Z</dc:date>
    <item>
      <title>How initialize Variables through Table Box selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239609#M90215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My general idea is following:&lt;BR /&gt;User have on the sheet 2 Table Box&lt;BR /&gt;1st - with parameters (ObjectID = &lt;STRONG&gt;&lt;EM&gt;"tblParam"&lt;/EM&gt;&lt;/STRONG&gt;)&lt;BR /&gt;2nd - result set (ObjectID = &lt;STRONG&gt;&lt;EM&gt;"tblResult"&lt;/EM&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;When user select (click) any row in &lt;STRONG&gt;&lt;EM&gt;"tblParam"&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;initialize the variables (&lt;EM&gt;vParam1, vParam2, vParam3&lt;/EM&gt;) and reload SQL-query related with &lt;STRONG&gt;"tblResult"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Edit script has following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sqlTblParam:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; SQL SELECT 1 as Param1, 120 as Param2, 0.51 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 1 as Param1, 120 as Param2, 0.52 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 2 as Param1, 120 as Param2, 0.5 as Param3&lt;BR /&gt; UNION&lt;BR /&gt; SELECT 3 as Param1, 120 as Param2, 0.5 as Param3;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sqlTblResult:&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; SQL SELECT * FROM tblData WHERE Param1 = &lt;STRONG&gt;$(vParam1)&lt;/STRONG&gt; and Param2 = &lt;STRONG&gt;$(vParam2)&lt;/STRONG&gt; and Param3 = &lt;STRONG&gt;$(vParam3)&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;I see this implementation so:&lt;BR /&gt;Step 1 - after user choice I need initialisation the variables &lt;EM&gt;(vParam1, vParam2, vParam3)&lt;/EM&gt;&lt;BR /&gt;Step 2 - Reload sqlTblResult&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please give me hint how can I do this idea?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239609#M90215</guid>
      <dc:creator />
      <dc:date>2010-05-13T11:43:50Z</dc:date>
    </item>
    <item>
      <title>How initialize Variables through Table Box selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239610#M90216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible (up)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 13:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239610#M90216</guid>
      <dc:creator />
      <dc:date>2010-05-13T13:43:29Z</dc:date>
    </item>
    <item>
      <title>How initialize Variables through Table Box selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239611#M90217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the question is urgent.&lt;/P&gt;&lt;P&gt;see above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 08:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-initialize-Variables-through-Table-Box-selection/m-p/239611#M90217</guid>
      <dc:creator />
      <dc:date>2010-05-14T08:28:15Z</dc:date>
    </item>
  </channel>
</rss>

