<?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 Inputbox to accept date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146051#M505485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's Rainer.&lt;/P&gt;&lt;P&gt;But How to call a Calender object &amp;amp; accept the value in a variable. If you have any example plese let me know about it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2009 16:34:36 GMT</pubDate>
    <dc:creator>amars</dc:creator>
    <dc:date>2009-06-05T16:34:36Z</dc:date>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146049#M505483</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;I have a qlikview file with section access. After opening it I reload the file with only record's with the filter for the user . Now I want to apply a filter for date, It should be like after section access &amp;amp; before reload. It should ask me Input for Start Date &amp;amp; End Date and should load data only for that duration. I can use Input box in Macro but the user may enter wrong value &amp;amp; that can cause trouble. How can I accept input without any problem's. Any ideas on that.&lt;/P&gt;&lt;P&gt;Thanks in advance for your valuable input's&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar[:'(]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 12:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146049#M505483</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-05T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146050#M505484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what do you think about a Calendar Object?&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 13:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146050#M505484</guid>
      <dc:creator />
      <dc:date>2009-06-05T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146051#M505485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's Rainer.&lt;/P&gt;&lt;P&gt;But How to call a Calender object &amp;amp; accept the value in a variable. If you have any example plese let me know about it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146051#M505485</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-05T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146052#M505486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amar,&lt;/P&gt;&lt;P&gt;see the application I attached.&lt;/P&gt;&lt;P&gt;The macro part is not perfect. Maybe one of our more experienced colleagues can help out here.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 17:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146052#M505486</guid>
      <dc:creator />
      <dc:date>2009-06-05T17:55:37Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146053#M505487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's Rainer,&lt;/P&gt;&lt;P&gt;But sorry , I know this is some what discouraging but this is not exactly as what I wanted , I want to pop up a calender object or something in which I can enter date (without error) from a macro.&lt;/P&gt;&lt;P&gt;Thanks Again for the kindness.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 19:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146053#M505487</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-05T19:02:09Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146054#M505488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure there is a clean solution. Can you try this logic:&lt;BR /&gt;1. In the script, call the Input box. User enters some date.&lt;BR /&gt;2. In the script, check if this is a valid date.&lt;BR /&gt;3. If yes, go to p. 6.&lt;BR /&gt;4. If not, open another input box, probably with some meaningful message for user.&lt;BR /&gt;5. Go to p. 2.&lt;BR /&gt;6. Continue.&lt;BR /&gt;You should also check if ther End Date is later than Start Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 23:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146054#M505488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-05T23:41:03Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146055#M505489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's Michael,&lt;/P&gt;&lt;P&gt;I will try this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 11:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146055#M505489</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-08T11:23:22Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146056#M505490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use standard InputBox objects with a custom constraint that tests for a valid date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NOT IsNull(date(date#($)))&lt;/P&gt;&lt;P&gt;Error message is also supported in the constraint. See attached for an example.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 06:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146056#M505490</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-09T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146057#M505491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Rob,&lt;BR /&gt;I'm also using input boxes for dates, combined with macros that check the vlidity of the input - it must be a date, possibly within some range, and Start date must be earlier than End date. I think your solution is more robust, I'll take a closer look.&lt;BR /&gt;As for Amar's question, I think that he wants to enter dates on reload. Not sure now if I got the question right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 08:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146057#M505491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-09T08:40:24Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146058#M505492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes michael ,&lt;/P&gt;&lt;P&gt;I want it that way only. I already have used it in one of my example where in input box I accept date by using&lt;/P&gt;&lt;P&gt;set EnteredFromDate = ActiveDocument.GetVariable("vDate")&lt;BR /&gt; FromDt = Inputbox("Please enter From Date in MM/DD/YYYY format","From Date",EnteredReloadFromDt)&lt;BR /&gt; If Not IsDate(FromDt) Then&lt;BR /&gt; Msgbox "Invalid Date"&lt;BR /&gt; FromDt = "01/01/1900"&lt;BR /&gt; End If&lt;/P&gt;&lt;P&gt;but I was not able to use goto label in this. If you can tell me that?&lt;/P&gt;&lt;P&gt;Thanks for your valuable inputs&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 17:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146058#M505492</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-09T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146059#M505493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amar,&lt;BR /&gt;There is no GoTo (I wish it were). What I suggested in my earlier post was not a ready solution but a logical algorythm. But QV does have some scrpt control abilities, for example "Do ... loop", which can be used like here:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LET DateCheck = null();&lt;BR /&gt;Do until DateCheck='OK'&lt;BR /&gt; EnterStartDate:&lt;BR /&gt; Load&lt;BR /&gt; Input('Enter Start Date as MM/DD/YY', 'Start Date') as Start&lt;BR /&gt; autogenerate 1;&lt;BR /&gt; LET vStartDate = peek('Start');&lt;BR /&gt; //&lt;BR /&gt; if len(trim(date(date#(vStartDate, 'MM/DD/YY'))))&amp;gt;0 then&lt;BR /&gt; LET DateCheck = 'OK';&lt;BR /&gt; else&lt;BR /&gt; LET DateCheck = 'Not a Date';&lt;BR /&gt; end if&lt;BR /&gt; //&lt;BR /&gt;loop&lt;BR /&gt;DROP TABLE EnterStartDate;&lt;BR /&gt;LET DateCheck = null();&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Try to run this script and enter different types of data - text, numbers, whatever. It will allow to continue only if you enter a date. &lt;BR /&gt;(Notice that there is no need to use macro.)&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 00:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146059#M505493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-10T00:41:08Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146060#M505494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached example checks the Start and End dates to be valid dates, and if the End date is later than Satrt date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 01:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146060#M505494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-10T01:00:43Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146061#M505495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like your solution Michael. Just for completeness, I extended my alternative InputBox example to handle two dates and test Start &amp;lt; End. The constraint could be extended to test for min/max values as well. Reload will use the dates to generate a range of dates.&lt;/P&gt;&lt;P&gt;I also modifed my test to use the more robust len() check instead of IsNull(). Thanks for reminding me of that!&lt;/P&gt;&lt;P&gt;Your solution is probably more fitting for the original question. but my example might be useful for some of the other questions I've seen about user entered date ranges.&lt;/P&gt;&lt;P&gt;Example attached.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 09:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146061#M505495</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-10T09:24:03Z</dc:date>
    </item>
    <item>
      <title>Inputbox to accept date</title>
      <link>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146062#M505496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's bot of you Michael, Rob. The example's were of great help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inputbox-to-accept-date/m-p/146062#M505496</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-06-10T11:49:25Z</dc:date>
    </item>
  </channel>
</rss>

