<?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: Auto turn on / off Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Auto-turn-on-off-Script/m-p/1052680#M923460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish, have you tried to use LET to check the day before assigning 1 or 0?, ie:&lt;/P&gt;&lt;P&gt;LET RUN_Tab3 = If(Day(Today())=15, 1, 0);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 15:01:17 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2016-04-18T15:01:17Z</dc:date>
    <item>
      <title>Auto turn on / off Script</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-turn-on-off-Script/m-p/1052679#M923459</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;I am doing following method in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created 5 script tabs for creation of QVD. I have created script file (.QVS) and exported it on my shared drive. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following If condition to turn on off script every month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set RUN_Tab1 =1; &lt;/P&gt;&lt;P&gt;set RUN_Tab2 =1; &lt;/P&gt;&lt;P&gt;set RUN_Tab3 =1; &lt;/P&gt;&lt;P&gt;set RUN_Tab4 =1; &lt;/P&gt;&lt;P&gt;set RUN_Tab5 =1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using If condition I am controlling the script run. IF RUN_Tab1=1 then XXX XXX EndIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When set RUN_Tab1 =0 it will simply skip that script and move to next one respectively.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every month on 15th we need to turn on &lt;/P&gt;&lt;P&gt;set RUN_Tab3 =1; &lt;/P&gt;&lt;P&gt;set RUN_Tab4 =1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after refresh turn off like this..&lt;/P&gt;&lt;P&gt;set RUN_Tab3 =0; &lt;/P&gt;&lt;P&gt;set RUN_Tab4 =0; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way I can automatically turn on / off this without changes to shared drive script file?&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-turn-on-off-Script/m-p/1052679#M923459</guid>
      <dc:creator>ashishpalkar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Auto turn on / off Script</title>
      <link>https://community.qlik.com/t5/QlikView/Auto-turn-on-off-Script/m-p/1052680#M923460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish, have you tried to use LET to check the day before assigning 1 or 0?, ie:&lt;/P&gt;&lt;P&gt;LET RUN_Tab3 = If(Day(Today())=15, 1, 0);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 15:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Auto-turn-on-off-Script/m-p/1052680#M923460</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-04-18T15:01:17Z</dc:date>
    </item>
  </channel>
</rss>

