<?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: Replace input box with calendar object (on reload script) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455471#M795318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vStart = Timestamp('2017-12-27', 'DD-MM-YYYY hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vEnd = TimeStamp(MonthEnd(Date(Floor('2017-12-27'))),'DD-MM-YYYY hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2017 17:25:45 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-12-27T17:25:45Z</dc:date>
    <item>
      <title>Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455470#M795317</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 very new to Qlik. I am not sure if this has been discussed before but the searching I have done does not seem to provide an adequate solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my script that connects to an ODBC MSSQL DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--ON RELOAD POP UP FREE TEXT INPUT BOX FOR START DATE AND END DATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO ZDD (XUserId is KVMMdCBPULZEHXFMMTUKGYdNSDdKVZVMSDEA, XPassword is ZZTBZadKHLbIXbZGZRMIM);&lt;/P&gt;&lt;P&gt;LET vStartDate=INPUT('ENTER START DATE AND TIME (YYYY-MM-DD HH:MM:SS)','INPUT BOX');&lt;/P&gt;&lt;P&gt;LET vEndDate=INPUT('ENTER END DATE AND TIME (YYYY-MM-DD HH:MM:SS)','INPUT BOX');&lt;/P&gt;&lt;P&gt;SQL EXECUTE spRptQlikUnpackBudget '$(vStartDate)','$(vEndDate)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all works as intended (prompting user with 2 free text fields for start date and end date) however to make it a little more user friendly I'd like to replace the free text field input box with a calendar object where the start date must start from the beginning of the day (i.e. 2017-12-27 00:00:00) and the end date must finish at the end of that day (i.e. 2017-12-28 23:59:59).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TL;DR&lt;/P&gt;&lt;P&gt;How do I go about presenting the user with a start date (including time 00:00:00) and end date (including time 23:59:59) calendar object pop up when the script is reloaded rather than a free text field input box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**If including the time is problematic then having the time hardcoded (somehow?) into each variable is not a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455470#M795317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455471#M795318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vStart = Timestamp('2017-12-27', 'DD-MM-YYYY hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vEnd = TimeStamp(MonthEnd(Date(Floor('2017-12-27'))),'DD-MM-YYYY hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455471#M795318</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-27T17:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455472#M795319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reiterate, I need the input box to be replaced by a calendar object (date picker) that is passed to my StartDate and EndDate SQL parameters which will allow the user to select a start date and end date via calendar rather than typing it into a free text field input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need this Calendar Object to popup when the script is loaded/reloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Your solution hard codes the date.&lt;/LI&gt;&lt;LI&gt;Your solution errors on reload script with &lt;EM&gt;Error converting data type varchar to datetime.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 05:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455472#M795319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T05:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455473#M795320</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;May be u can try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Start_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) in one textbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(End_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) in other textbox&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;whenever you select tht start date, it will be shown in textbox..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 08:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455473#M795320</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-12-29T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455474#M795321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this prompt the user for input on Reload?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 08:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455474#M795321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-29T08:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace input box with calendar object (on reload script)</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455475#M795322</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;put those variables of v_Startdate and v_end date in a textbox to show values.. It will show the dates after reload&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 06:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-input-box-with-calendar-object-on-reload-script/m-p/1455475#M795322</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-12-30T06:17:34Z</dc:date>
    </item>
  </channel>
</rss>

