<?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: How to exit the script based on condition? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222570#M872134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if (id=37) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXECUTE&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vStop = Now();&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXIT Script;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try like this it may works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 14:33:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-09T14:33:49Z</dc:date>
    <item>
      <title>How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222568#M872132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit the script based on condition on reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;if 'Id' is equal to 37 then the script should continue execution &lt;/P&gt;&lt;P&gt;else the script should stop its execution at that point and&amp;nbsp; 'EXIT Script' should be activated or executed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly awaiting for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dinesh M&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/How-to-exit-the-script-based-on-condition/m-p/1222568#M872132</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222569#M872133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is Id here? Is this a field or a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222569#M872133</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222570#M872134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if (id=37) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXECUTE&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vStop = Now();&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXIT Script;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try like this it may works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222570#M872134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-09T14:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222571#M872135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share full script? I mean before IF condition what you have done &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222571#M872135</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-09T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222572#M872136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14787032976557107" jivemacro_uid="_14787032976557107"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;X&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 37;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;vVar&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 37;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(X)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vVar)&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; Col&lt;BR /&gt; a&lt;BR /&gt; b&lt;BR /&gt; c&lt;BR /&gt; d ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;else&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;EXIT&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Script&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;end&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222572#M872136</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2016-11-09T14:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222573#M872137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Id' is a field for which the values are given using input function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222573#M872137</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2016-11-10T05:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222574#M872138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can it always have one value assigned to it? Can you may be share a sample so that we can see your setup?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 10:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222574#M872138</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-10T10:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to exit the script based on condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222575#M872139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly find the below script that I have and there is no binary load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Input('Enter your ID','Input' ) as ID,&lt;/P&gt;&lt;P&gt;Input('Enter the Name','input' ) as Name &lt;/P&gt;&lt;P&gt;AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//----------------&lt;/P&gt;&lt;P&gt;// condition&lt;/P&gt;&lt;P&gt;//----------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//-------------------------&lt;/P&gt;&lt;P&gt;// remaining script&lt;/P&gt;&lt;P&gt;//--------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the condition is true the 'remaining script' has to execute else script has to exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dinesh M &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 10:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exit-the-script-based-on-condition/m-p/1222575#M872139</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2016-11-10T10:30:41Z</dc:date>
    </item>
  </channel>
</rss>

