<?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 Retrieve value of an input box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595358#M685084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an input box with the variable test. The value of this variable is =Date(Today()-1)&lt;/P&gt;&lt;P&gt;Then, in the script, i want to put this variable in a where clause.&lt;/P&gt;&lt;P&gt;Here is my problem, i tried: &lt;/P&gt;&lt;P&gt;Where Column &amp;lt;&amp;gt; $(test)&lt;/P&gt;&lt;P&gt;but it doesn't work because of the '='.&lt;/P&gt;&lt;P&gt;And the thing is that the '=' char is needed in the expression of the variable or it displays 'Date(Today()-1)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Loïc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 14:16:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-31T14:16:42Z</dc:date>
    <item>
      <title>Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595358#M685084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an input box with the variable test. The value of this variable is =Date(Today()-1)&lt;/P&gt;&lt;P&gt;Then, in the script, i want to put this variable in a where clause.&lt;/P&gt;&lt;P&gt;Here is my problem, i tried: &lt;/P&gt;&lt;P&gt;Where Column &amp;lt;&amp;gt; $(test)&lt;/P&gt;&lt;P&gt;but it doesn't work because of the '='.&lt;/P&gt;&lt;P&gt;And the thing is that the '=' char is needed in the expression of the variable or it displays 'Date(Today()-1)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Loïc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595358#M685084</guid>
      <dc:creator />
      <dc:date>2014-01-31T14:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595359#M685085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loic!&lt;BR /&gt;What's your requirements? will the variable be set by the user? is the value '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Date(Today()-1)&lt;/SPAN&gt;' a default value?&lt;BR /&gt;Have you tried an If-statement ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can try this in your script: where column&amp;lt;&amp;gt; if($test='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Date(Today()-1)&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Today()-1),$test&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595359#M685085</guid>
      <dc:creator />
      <dc:date>2014-01-31T14:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595360#M685086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that's right, i just want &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Date(Today()-1)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;' to be a default value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I don't know, how do you think i can do this with an If statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595360#M685086</guid>
      <dc:creator />
      <dc:date>2014-01-31T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595361#M685087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just set the variable in the script before you use it in the where clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYesterday = num(today()-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load * from MyTable where MyDate &amp;lt;= $(vYesterday);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595361#M685087</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-31T14:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595362#M685088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No guys, this don't work because the users could put another value in the input box and this will not work anymore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595362#M685088</guid>
      <dc:creator />
      <dc:date>2014-01-31T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595363#M685089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for me Gysbert isolution works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input box (variable test), &lt;/P&gt;&lt;P&gt;today()-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script&lt;/P&gt;&lt;P&gt;let test2 = $(test);&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM "sisim_stat".dbo."d003_date"&lt;/P&gt;&lt;P&gt;where dat_data &amp;gt;= $(test2); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595363#M685089</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-31T15:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595364#M685090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is true but the problem with this solution is that the users will see 'Today()-1' instead of '30.01.2014' for today in the input box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595364#M685090</guid>
      <dc:creator />
      <dc:date>2014-01-31T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595365#M685091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use a calendar based on the variable test and in number tab choose date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595365#M685091</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-31T15:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595366#M685092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i use a calendar based on a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 07:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595366#M685092</guid>
      <dc:creator />
      <dc:date>2014-02-03T07:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Retrieve value of an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595367#M685093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Menu&lt;/P&gt;&lt;P&gt;R Click on sheet --&amp;gt; New Sheet Object --&amp;gt; Slider/Calendar Object.....--&amp;gt;&lt;/P&gt;&lt;P&gt;In General Tab choose Calendar (Input Style) and Variable(s)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="calendar variable.jpg" class="jive-image" height="433" src="/legacyfs/online/52482_calendar variable.jpg" style="width: 517px; height: 432.64736842105265px;" width="517" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 08:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-value-of-an-input-box/m-p/595367#M685093</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-03T08:12:19Z</dc:date>
    </item>
  </channel>
</rss>

