<?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: How to pass input box value to sql query as a parameter? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869767#M304121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prahathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable vShow has nothing to do with your requirement, i used it for other purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 11:04:32 GMT</pubDate>
    <dc:creator>qlikmsg4u</dc:creator>
    <dc:date>2015-07-14T11:04:32Z</dc:date>
    <item>
      <title>How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869760#M304114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve something here, can you please help me out here. Below is what I am trying to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my QV application, I need run a sql query that takes parameters from the user, so I was thinking to have input box where in the user can enter the value, this value would be save in a variable and then the user will reload the app? Do you think this would work? I am just getting confused. Any help here would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Example Select * from tablename where date = : p_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_date is given by the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,. should I make this as an input box and save its value in a variable so that on reload, what ever date the user has entered that will be used in the query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869760#M304114</guid>
      <dc:creator />
      <dc:date>2015-07-14T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869761#M304115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pragathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right that's possible (But only in Desktop).Please find the attached app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869761#M304115</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-07-14T10:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869762#M304116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming user will on Desktop, or other wise they dont even see the realod option. Unless you are using some thing like EDX and Webservices. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it like below. p_date is your variable. In this case you can create a calendar object and assign this p_date as a variable. so that your user selections will gets stored in this variable and you can use this in the sql code to filter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Select * from tablename where date = '&lt;/SPAN&gt;$(p_date)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869762#M304116</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2015-07-14T10:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869763#M304117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much, this is exactly what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are a star. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869763#M304117</guid>
      <dc:creator />
      <dc:date>2015-07-14T10:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869764#M304118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1"&gt;&lt;LI&gt;LET vDate = Input('Input Date', 'Warning!');&amp;nbsp;&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Select * from tablename where date = &lt;/SPAN&gt;$(vDate)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869764#M304118</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2015-07-14T10:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869765#M304119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, the user is actually using desktop version, so he will have access to the reload button. You response is also the same as &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/QLIKmsg4u"&gt;QLIKmsg4u&lt;/A&gt;‌ He just supplied with an example which is what I was looking for.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869765#M304119</guid>
      <dc:creator />
      <dc:date>2015-07-14T10:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869766#M304120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell me what does vShow variable do? where is it used in your example application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869766#M304120</guid>
      <dc:creator />
      <dc:date>2015-07-14T10:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869767#M304121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prahathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable vShow has nothing to do with your requirement, i used it for other purpose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869767#M304121</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-07-14T11:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input box value to sql query as a parameter?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869768#M304122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ohh Okay, thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-input-box-value-to-sql-query-as-a-parameter/m-p/869768#M304122</guid>
      <dc:creator />
      <dc:date>2015-07-14T11:06:04Z</dc:date>
    </item>
  </channel>
</rss>

