<?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: Looping through files using DocumentPath() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765780#M1048375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried this syntax too, I was only missing the single quotes. It looks wrong at the beginning - the script editor does not recognize the variable inside quotation marks. But it works, thanks for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 09:52:11 GMT</pubDate>
    <dc:creator>martyn_birzys</dc:creator>
    <dc:date>2014-11-05T09:52:11Z</dc:date>
    <item>
      <title>Looping through files using DocumentPath()</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765778#M1048373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to loop through 3 .qvd files in QVDs subfolder, but all I'm getting is blank screen (empty table).&lt;/P&gt;&lt;P&gt;LET vPath = Replace (DocumentPath (), '\' &amp;amp; DocumentName (), '')&amp;amp;'\QVDs';&lt;/P&gt;&lt;P&gt;FOR Each File in filelist ($(vPath))&lt;/P&gt;&lt;P&gt;fileTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'$(File)' as Name, &lt;/P&gt;&lt;P&gt;FileSize( '$(File)' ) as Size,&lt;/P&gt;&lt;P&gt;FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;TRACE folderpath-- $(vPath) . filename-- $(File); &lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 16:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765778#M1048373</guid>
      <dc:creator>martyn_birzys</dc:creator>
      <dc:date>2014-11-04T16:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through files using DocumentPath()</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765779#M1048374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET vPath = Replace (DocumentPath (), '\' &amp;amp; DocumentName (), '')&amp;amp;'\QVDs'; &lt;/P&gt;&lt;P&gt;trace $(vPath);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each File in filelist ('$(vPath)\*.*') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; trace $(File);&lt;/P&gt;&lt;P&gt;&amp;nbsp; fileTable: &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD '$(File)' as Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp; FileSize( '$(File)' ) as Size, &lt;/P&gt;&lt;P&gt;&amp;nbsp; FileTime( '$(File)' ) as FileTime &lt;/P&gt;&lt;P&gt;&amp;nbsp; autogenerate 1; &lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE folderpath-- $(vPath) . filename-- $(File);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 20:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765779#M1048374</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-04T20:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through files using DocumentPath()</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765780#M1048375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried this syntax too, I was only missing the single quotes. It looks wrong at the beginning - the script editor does not recognize the variable inside quotation marks. But it works, thanks for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 09:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-through-files-using-DocumentPath/m-p/765780#M1048375</guid>
      <dc:creator>martyn_birzys</dc:creator>
      <dc:date>2014-11-05T09:52:11Z</dc:date>
    </item>
  </channel>
</rss>

