<?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 How and in which order executed QV a load-statement? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611594#M679853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how and in which order executed QV a load-statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background is to check within a load-statement if a certain field exists and if not load a dummy-value or another field. But a check like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if(year &amp;lt; 2014, 'n.n.', [Field X]) as [Field X],&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;From path/file*.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within a load returned a load-error (field not found) if [Field X] don't exists. This don't failed only by internal field-checks but also by file-functions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(makedate(mid(filebasename(), 11, 4), mid(filebasename(), 16, 2), 1) &amp;lt; '01.01.2014', 'n.n.', [Field X]) as [Field X],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to solve this within a load-statement and avoiding several loads or loops around the load to create a variable load-statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Marcus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 08:01:52 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-05-08T08:01:52Z</dc:date>
    <item>
      <title>How and in which order executed QV a load-statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611594#M679853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how and in which order executed QV a load-statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background is to check within a load-statement if a certain field exists and if not load a dummy-value or another field. But a check like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;if(year &amp;lt; 2014, 'n.n.', [Field X]) as [Field X],&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;From path/file*.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within a load returned a load-error (field not found) if [Field X] don't exists. This don't failed only by internal field-checks but also by file-functions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(makedate(mid(filebasename(), 11, 4), mid(filebasename(), 16, 2), 1) &amp;lt; '01.01.2014', 'n.n.', [Field X]) as [Field X],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to solve this within a load-statement and avoiding several loads or loops around the load to create a variable load-statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, Marcus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 08:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611594#M679853</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-05-08T08:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How and in which order executed QV a load-statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611595#M679854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could setting ErrorMode be an option ? Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;Set ErrorMode=0;&lt;/P&gt;&lt;P class="Code"&gt;Load AA from &amp;lt;&amp;gt;;&lt;/P&gt;&lt;P&gt;If ScriptError=11 then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 11 - Field not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BB as XField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From &amp;lt;&amp;gt;;&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AA as XField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From &amp;lt;&amp;gt;;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 08:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611595#M679854</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-08T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How and in which order executed QV a load-statement?</title>
      <link>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611596#M679855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;. It's an interesting idea but it avoid only the script-error and don't load all my files. I have it also tested with resident and preceding load but it's all the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting would be how the load worked from a technical point of view - perhaps &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt; could give some information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 11:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-and-in-which-order-executed-QV-a-load-statement/m-p/611596#M679855</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-05-08T11:02:21Z</dc:date>
    </item>
  </channel>
</rss>

