<?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 trigger an error in the script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/1836914#M1214955</link>
    <description>&lt;P&gt;This doesn't seems to work anymore .&lt;BR /&gt;I will have to use the fake Crash command&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 09:16:31 GMT</pubDate>
    <dc:creator>mbrouwer</dc:creator>
    <dc:date>2021-09-17T09:16:31Z</dc:date>
    <item>
      <title>How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953572#M646807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;How can I elegantly trigger an error in the script when a condition is not met?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I do not want to exit the script without an error because then I would not get a warning in the Publisher...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;,KR Koen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953572#M646807</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-11-20T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953573#M646808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My preferred technique: use the &lt;SPAN style="font-family: 'courier new', courier;"&gt;CRASH;&lt;/SPAN&gt; statement. It doesn't exist but it will do what it says... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953573#M646808</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-11-20T16:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953574#M646809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if condition = false() then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * Resident NotExistingTable;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953574#M646809</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-11-20T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953575#M646810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;IF Condition Not met,&lt;/P&gt;&lt;P&gt;trace 'This condition has not been met!';&lt;/P&gt;&lt;P&gt;Exit script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;Continue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953575#M646810</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-20T16:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953576#M646811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use any word that is not a command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If 1 &amp;lt;&amp;gt; 0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp; Die!&lt;/P&gt;&lt;P&gt;endif ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953576#M646811</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-11-20T16:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953577#M646812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will work but not the most elegant one &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953577#M646812</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-11-20T16:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953578#M646813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback. But this will not trigger an error in my mgmt console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953578#M646813</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-11-20T16:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953579#M646814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it find the endif statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953579#M646814</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-11-20T16:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953580#M646815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14480389084674428" jivemacro_uid="_14480389084674428" modifiedtitle="true"&gt;&lt;STRONG&gt;IF &lt;EM&gt;condition&lt;/EM&gt; then &lt;BR /&gt; TRACE( Condition is not valid); &lt;BR /&gt; SET &lt;EM&gt;TriggerError&lt;/EM&gt;; //This line of code triggers an error &lt;BR /&gt;END IF &lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 17:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953580#M646815</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-11-20T17:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953581#M646816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is genial!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 10:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/953581#M646816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-17T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an error in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/1836914#M1214955</link>
      <description>&lt;P&gt;This doesn't seems to work anymore .&lt;BR /&gt;I will have to use the fake Crash command&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 09:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-trigger-an-error-in-the-script/m-p/1836914#M1214955</guid>
      <dc:creator>mbrouwer</dc:creator>
      <dc:date>2021-09-17T09:16:31Z</dc:date>
    </item>
  </channel>
</rss>

