<?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 Empty Files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350750#M130010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I use For Each? I like the idea but can't see the syntax to use a condition such as Where FileSize() in conjunction with For Each.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 17:19:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-15T17:19:22Z</dc:date>
    <item>
      <title>Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350748#M130008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We currently load multiple files from a directory into a single QVW file but periodically we get sent empty documents from our customer.&amp;nbsp; Unfortunately when the file is empty half the columns are missing and load load process fails, is there anyway to tell QlikView to ignore these files during the load process?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already confirmed these files are always 512bytes in size and actually tried the following but it still seems to load the entire file and then fail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filed4&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;Where FileSize()&amp;gt;768;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 18:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350748#M130008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-14T18:55:01Z</dc:date>
    </item>
    <item>
      <title>Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350749#M130009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Why don't you use "for each" and test the filesize before doing the load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 19:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350749#M130009</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2012-05-14T19:45:33Z</dc:date>
    </item>
    <item>
      <title>Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350750#M130010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I use For Each? I like the idea but can't see the syntax to use a condition such as Where FileSize() in conjunction with For Each.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 17:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350750#M130010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-15T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350751#M130011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for each file in filelist('*.txt')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if filesize(file) &amp;gt; 768 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 17:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350751#M130011</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2012-05-15T17:38:32Z</dc:date>
    </item>
    <item>
      <title>Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350752#M130012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel, that's what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 19:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350752#M130012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-15T19:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Files</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350753#M130013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;i have the path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET Filename='C:\Documents and Settings\5481\Desktop\Importdatafromsharepoint\Rev Call Summary Sheet_'&amp;amp;$(a)&amp;amp;'.xlsx';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and excel comes on weekly basis on random day.&lt;/P&gt;&lt;P&gt;so i want a daily reload how can i implement this using for each loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 07:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Files/m-p/350753#M130013</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-06-27T07:59:59Z</dc:date>
    </item>
  </channel>
</rss>

