<?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: Suppress error message at script runtime in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510489#M685666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put &lt;STRONG&gt;Set ErrorMode=0; &lt;/STRONG&gt;before the loop. That should suppress the errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 15:56:47 GMT</pubDate>
    <dc:creator>vidyut</dc:creator>
    <dc:date>2014-01-14T15:56:47Z</dc:date>
    <item>
      <title>Suppress error message at script runtime</title>
      <link>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510488#M685665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list of fields that I want to get dropped from the tables that get loaded in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR each tablename in $(varTableNames)&lt;/P&gt;&lt;P&gt;LOAD * ; select * from $(tablename); &lt;/P&gt;&lt;P&gt;DROP Fields $(varFieldNames);&lt;/P&gt;&lt;P&gt;NEXT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The varFieldNames is a comma separated list of some random fields in the form of 'Table1.field1','Table2.field5' etc.. Now e.g. if the tablename is not the Table1 I get a pop-up with the error message "wrong field name in the drop fields statement" or something for the Table1.field1. It breaks the script execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to suppress that behavior? I just want to ignore the those errors and let the script run through.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510488#M685665</guid>
      <dc:creator />
      <dc:date>2014-01-14T15:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress error message at script runtime</title>
      <link>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510489#M685666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put &lt;STRONG&gt;Set ErrorMode=0; &lt;/STRONG&gt;before the loop. That should suppress the errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510489#M685666</guid>
      <dc:creator>vidyut</dc:creator>
      <dc:date>2014-01-14T15:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress error message at script runtime</title>
      <link>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510490#M685667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out&lt;/P&gt;&lt;H1&gt;Error Variables &lt;/H1&gt;&lt;P&gt;&amp;nbsp; in the help file to supress the errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510490#M685667</guid>
      <dc:creator />
      <dc:date>2014-01-14T15:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress error message at script runtime</title>
      <link>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510491#M685668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answers they both were helpful. What I had to do on top is just to up the "drop field" statement into a loop. Because otherwise the "drop fields" would not drop any field if at least one could not be found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Suppress-error-message-at-script-runtime/m-p/510491#M685668</guid>
      <dc:creator />
      <dc:date>2014-01-14T17:00:14Z</dc:date>
    </item>
  </channel>
</rss>

