<?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 Problem with input box used to enter date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328196#M583786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my dashboard i want to provide a manual option to enter the date range... for that i have created two variable startdate and enddate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i took a inputbox and used these two variables with constraint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= /* $ represents the user entered date */&lt;/P&gt;&lt;P&gt;len(date(date#($)) &amp;gt; 0 /* Can be converted to a valid QV date? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;lt; date#(enddate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered StartDate is less then the current EndDate? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;gt;= min({1} T_DATE)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered date is greater or equal to available dates? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;lt;= max({1} T_DATE)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered date is less or equal to available dates? */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when ever i am trying to enter the date in the list box... variable is not taking values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body please telll me where i am wrong or share your experience to solve this problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 06:37:13 GMT</pubDate>
    <dc:creator>sushil353</dc:creator>
    <dc:date>2011-09-07T06:37:13Z</dc:date>
    <item>
      <title>Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328196#M583786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my dashboard i want to provide a manual option to enter the date range... for that i have created two variable startdate and enddate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i took a inputbox and used these two variables with constraint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= /* $ represents the user entered date */&lt;/P&gt;&lt;P&gt;len(date(date#($)) &amp;gt; 0 /* Can be converted to a valid QV date? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;lt; date#(enddate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered StartDate is less then the current EndDate? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;gt;= min({1} T_DATE)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered date is greater or equal to available dates? */&lt;/P&gt;&lt;P&gt;AND date#($) &amp;lt;= max({1} T_DATE)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Entered date is less or equal to available dates? */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when ever i am trying to enter the date in the list box... variable is not taking values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body please telll me where i am wrong or share your experience to solve this problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 06:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328196#M583786</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-09-07T06:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328197#M583787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sushil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have an syntax error.&lt;/P&gt;&lt;P&gt;There is a missing )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;len(date(date#($)) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;should be&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;len(date(date#($))) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 06:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328197#M583787</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-07T06:58:20Z</dc:date>
    </item>
    <item>
      <title>Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328198#M583788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have corrected the error but still it is not taking values... whenever i tried to enter the value it disappears and courser&amp;nbsp; remain in the inputbox..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328198#M583788</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-09-07T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328199#M583789</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;Yeah, I noticed that also, after my last post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you put the different parts of your validation logic in textboxes and verify that they behave as you expect.&lt;/P&gt;&lt;P&gt;There may be an error somewhere, and it's easier to see if you can see the values of the different parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328199#M583789</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-07T07:21:09Z</dc:date>
    </item>
    <item>
      <title>Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328200#M583790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more thing i want to add...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i removed the constraint and then entered the value.... input box took the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i add constraint the the values which are added in the input box remains same... they are not able to change..when i am trying to change the date value&amp;nbsp; it hangs up there...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328200#M583790</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-09-07T07:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with input box used to enter date range</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328201#M583791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I made a mistake before but now I use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=len(date(date#($))) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#($) &amp;lt; date#(enddate)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#($) &amp;gt;= min({1} &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;T_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#($) &amp;lt;= max({1} &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;T_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the startdate input field, and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=len(date(date#($))) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#(startdate) &amp;lt; date#($)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#($) &amp;gt;= min({1} T_DATE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AND date#($) &amp;lt;= max({1} &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;T_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the enddate input field, and it works as expected for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter an invalid date the cursor remains in the input field otherwise its ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-input-box-used-to-enter-date-range/m-p/328201#M583791</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-07T07:35:37Z</dc:date>
    </item>
  </channel>
</rss>

