<?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: On Error resume to next in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705627#M725677</link>
    <description>&lt;P&gt;Believe the following should likely put you on the right track:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ScriptError.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ScriptError.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2020 12:39:18 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-05-27T12:39:18Z</dc:date>
    <item>
      <title>On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1698915#M725676</link>
      <description>&lt;P&gt;Hello guys&lt;/P&gt;&lt;P&gt;I'm using a FOR loop in my Scrip, to load some files, as follow:&lt;/P&gt;&lt;P&gt;For each Ticker in 'AZUL4', 'CVCB3', 'BBDC4'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOAD... FROM&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But sometimes, due to some external conditions some Ticker may not be available at the time of the loading, so the script stops, show me the error, and asks for what to do...&lt;/P&gt;&lt;P&gt;I would like to insert some kind of code, saying that I don't care if you can't load it now, so, on error, just go to the next Ticker. How can I do ti?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1698915#M725676</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705627#M725677</link>
      <description>&lt;P&gt;Believe the following should likely put you on the right track:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ScriptError.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ScriptError.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 12:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705627#M725677</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-27T12:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705643#M725678</link>
      <description>&lt;P&gt;is your source a database or based on files?&lt;/P&gt;&lt;P&gt;If files, you can check with&lt;/P&gt;&lt;P&gt;if (isnull(filetime(Ticker_file.txt)) then&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 13:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705643#M725678</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-05-27T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705646#M725679</link>
      <description>&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;My source is based on files.&lt;BR /&gt;Actually I'm reading around 100 files.&lt;/P&gt;&lt;P&gt;Each file contains 5.000 rows approximately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you mind to better explain how this If function works?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 13:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1705646#M725679</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-27T13:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706100#M725680</link>
      <description>&lt;P&gt;hy did I expect this question? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;One solution is by using ErrorMode:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;set failingTickers='';
set ErrorMode=0;

For each Ticker in $(NomeEmpresas), $(NomeBancos)

	Cotação:
	LOAD ... From ...;

	if ScriptError&amp;gt;0 then
		set failingTickers='$(failingTickers)$(Ticker),';
	end if

Next Ticker

set ErrorMode=1;

if len('$(failingTickers)')&amp;gt;0 then
	Trace Failing Tickers: $(failingTickers);
end if&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 28 May 2020 15:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706100#M725680</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2020-05-28T15:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706154#M725681</link>
      <description>&lt;P&gt;Just a quick caveat on setting ErrorMode=0, that will in fact ignore all errors, so you need to be sure things are working properly etc., as otherwise this may mask an issue, just wanted to be sure you were fully aware of this part of using that function.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 17:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706154#M725681</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-28T17:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706162#M725682</link>
      <description>&lt;P&gt;As &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14114"&gt;@Brett_Bleess&lt;/a&gt;&amp;nbsp; says all errors will be ignored with ErrorMode=0. So I would recommend you to restore the ErrorMode to 1 after you are finished loading your files in the script.&lt;/P&gt;&lt;P&gt;Do your initial stuff;&lt;/P&gt;&lt;P&gt;ErrorMode=0;&lt;/P&gt;&lt;P&gt;Do Your critical stuff;&lt;/P&gt;&lt;P&gt;ErrorMode=1;&lt;/P&gt;&lt;P&gt;Do the rest of your script;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 17:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706162#M725682</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-05-28T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706169#M725683</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;CWolf did show that in their example, but not bad to point that out again for others that drop by...&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 17:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706169#M725683</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-28T17:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: On Error resume to next</title>
      <link>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706544#M725684</link>
      <description>&lt;P&gt;Yes, you met all my expectations!&lt;/P&gt;&lt;P&gt;Thank you so much...&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/On-Error-resume-to-next/m-p/1706544#M725684</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-29T13:47:04Z</dc:date>
    </item>
  </channel>
</rss>

