<?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: Load script - file list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419664#M1161034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the files set to hidden? These won't show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 08:54:15 GMT</pubDate>
    <dc:creator>flipside</dc:creator>
    <dc:date>2012-11-12T08:54:15Z</dc:date>
    <item>
      <title>Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419661#M1161031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load all filenames in temptable and use them for another script.&lt;/P&gt;&lt;P&gt;I have a very simple syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TEMP_FILE:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FileBaseName() as "filename",&lt;/P&gt;&lt;P&gt;FileTime() as "Date_file"&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;There&amp;nbsp; should be 57 records in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But it shows only 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am i doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 12:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419661#M1161031</guid>
      <dc:creator>alwinsch</dc:creator>
      <dc:date>2012-11-09T12:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419662#M1161032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my side script runs correctley please check once from your end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 12:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419662#M1161032</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-09T12:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419663#M1161033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it does not work.&lt;/P&gt;&lt;P&gt;I get 2 filenames and i need some around 60.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 07:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419663#M1161033</guid>
      <dc:creator>alwinsch</dc:creator>
      <dc:date>2012-11-12T07:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419664#M1161034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the files set to hidden? These won't show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 08:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419664#M1161034</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-11-12T08:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419665#M1161035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No the folder and files are not hidden.&lt;/P&gt;&lt;P&gt;But when i create a new table i get some strange dimensions.&lt;/P&gt;&lt;P&gt;(please see attachment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24969" class="jive-image-thumbnail jive-image" onclick="" alt="Strange_icons.png" src="https://community.qlik.com/legacyfs/online/24969_Strange_icons.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 10:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419665#M1161035</guid>
      <dc:creator>alwinsch</dc:creator>
      <dc:date>2012-11-12T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load script - file list</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419666#M1161036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, try this code instead if you just want the file names (this will return hidden files also) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For each file in FileList('C:\Users\alwinsc\Documents\QlikView\ProdStat\*')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEMP_FILE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield('$(file)','\',-1) as filename, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTime('$(file)') as Date_file autogenerate 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your filename will have the extension, but if you don't need it just wrap around another subfield statement with '.' delimiter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 10:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-file-list/m-p/419666#M1161036</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-11-12T10:55:42Z</dc:date>
    </item>
  </channel>
</rss>

