<?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: Script help??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357923#M826124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that all Nprinting does for you?&amp;nbsp; Are you using it as a scheduler to run your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the if statement in a load script will make the QVW empty on the days it shouldn't run.&lt;/P&gt;&lt;P&gt;But it won't stop the rest of your Nprinting process (like export) unless you put a condition on your report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 15:42:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-10T15:42:11Z</dc:date>
    <item>
      <title>Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357919#M826114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I am trying get script which will execute if it is Monday of the week or else it will exit and if its 2&lt;/SPAN&gt;&lt;SUP style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;nd&lt;/SUP&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; day of the month it will execute or else it will exit. I will schedule this script in nprinting every day. As I know in nprinting I can only schedule it for only one type either weekly or monthly. If I schedule it for every day,&amp;nbsp; reads the scripts and execute accordingly. Hope this make sense. Just need script to put it at the top the query I have.&lt;/SPAN&gt;&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/Script-help/m-p/1357919#M826114</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357920#M826117</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;IF ( WeekDay(Today()) = 'Mon'&amp;nbsp; OR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Today() = Date(Num(Monthstart(Today())+1)) , 'ExecuteScript' , 'Exist Script')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 14:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357920#M826117</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-10T14:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357921#M826119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Vishwa,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; , 'ExecuteScript' , 'Exit Script') this bit is coming with red undrlined??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357921#M826119</guid>
      <dc:creator>madhuqliklondon</dc:creator>
      <dc:date>2017-07-10T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357922#M826122</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;IF WeekDay(Today()) = 'Mon' or Day(Today()) = 2 then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableName:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM ...;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything between IF and ENDIF will only run if it is Monday or 2nd day of the month....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357922#M826122</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T15:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357923#M826124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that all Nprinting does for you?&amp;nbsp; Are you using it as a scheduler to run your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the if statement in a load script will make the QVW empty on the days it shouldn't run.&lt;/P&gt;&lt;P&gt;But it won't stop the rest of your Nprinting process (like export) unless you put a condition on your report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357923#M826124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-10T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script help???</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357924#M826127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow Sunny's Script. Its simple and comprehensible. &lt;/P&gt;&lt;P&gt;I was little lazy sorry about that. Its Monday morning thing. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually meant like &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF ( WeekDay(Today()) = 'Mon'&amp;nbsp; OR&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Today() = Date(Num(Monthstart(Today())+1))&amp;nbsp; Then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Your execution load script&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ELSE&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Exit Script &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END IF;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 15:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/1357924#M826127</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-10T15:43:48Z</dc:date>
    </item>
  </channel>
</rss>

