<?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: Set Calendar Value On Open in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732621#M262427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have a similar problem and hoping you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1408333"&gt;Re: Replace input box with calendar object (on reload script)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I want a date picker associated with my SQL parameters so that on reload the date picker pops up and the user, instead of typing into a free text field input box, rather selects a date from a calendar. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 12:14:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-28T12:14:07Z</dc:date>
    <item>
      <title>Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732617#M262423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;Wonder if anyone has any ideas how to do this. I've looked around on here but none of the suggestions seem to have worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Have got a SQL view which returns a date value based on some logic.&lt;/LI&gt;&lt;LI&gt;I have&amp;nbsp; a calendar object in Qlikview which I want to display this value when the document is first opened.&lt;/LI&gt;&lt;LI&gt;The calendar object uses a variable in the 'variables' section. i.e. when a value is chosen on the calendar, that variable value then changes to the same value.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Can anyone tell me how to set this up so that when the document is first opened, it takes the value from the SQL view and displays it in the calendar object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to set this using Settings - Document Properties - Triggers - Document Event Triggers - OnOpen:&lt;BR /&gt;I've then set the 'Field' to the =vVariable and the 'Search String' to = SQLColumn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this is not working when I close and re-open the document. I'm wondering if I'm doing this wrong and shouldn't be setting the variable value (as this is set by whatever value the user selects in the calendar object).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 12:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732617#M262423</guid>
      <dc:creator />
      <dc:date>2014-10-15T12:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732618#M262424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can put it in the load script. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyView:&lt;/P&gt;&lt;P&gt;SQL SELECT MyDate FROM MyView;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vVariable = Peek ('MyDate', 0, 'MyView');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will assign the variable everytime you reload the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 12:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732618#M262424</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2014-10-15T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732619#M262425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there is anyway to get this to happen when you open up the document, as opposed to only when the reload script is run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks though anyway. This has worked when reloading script, but would be great if I can get it to work when user re-opens doc as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732619#M262425</guid>
      <dc:creator />
      <dc:date>2014-10-15T13:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732620#M262426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get the syntax right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached. Works in my local installaion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 13:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732620#M262426</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2014-10-15T13:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732621#M262427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have a similar problem and hoping you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1408333"&gt;Re: Replace input box with calendar object (on reload script)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I want a date picker associated with my SQL parameters so that on reload the date picker pops up and the user, instead of typing into a free text field input box, rather selects a date from a calendar. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 12:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732621#M262427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-28T12:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Calendar Value On Open</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732622#M262428</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;Have you tried the "Slider/Calender" object? This you can link to either a variable or a field (and set a min / max). Below an example linked to a variable, but as you see, you can link it to a field also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-02-15 13_00_48-MediTech (medqv01.medevo.local) - Remote Desktop Connection Manager v2.7.png" class="jive-image image-1" src="/legacyfs/online/193480_2018-02-15 13_00_48-MediTech (medqv01.medevo.local) - Remote Desktop Connection Manager v2.7.png" style="height: 525px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-02-15 13_01_19-MediTech (medqv01.medevo.local) - Remote Desktop Connection Manager v2.7.png" class="jive-image image-2" src="/legacyfs/online/193502_2018-02-15 13_01_19-MediTech (medqv01.medevo.local) - Remote Desktop Connection Manager v2.7.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 12:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Calendar-Value-On-Open/m-p/732622#M262428</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2018-02-15T12:03:34Z</dc:date>
    </item>
  </channel>
</rss>

