<?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 Folders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1977086#M1220827</link>
    <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/For%20Each.htm#:~:text=This%20example%20loads%20a%20list%20of%20all%20QlikView%20related%20files%20in%20a%20folder" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/For%20Each.htm#:~:text=This%20example%20loads%20a%20list%20of%20all%20QlikView%20related%20files%20in%20a%20folder&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 16:00:11 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2022-09-05T16:00:11Z</dc:date>
    <item>
      <title>Looping Through Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1976881#M1220819</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;I am not that advanced in QlikView coding and require assistance with the following:&lt;/P&gt;
&lt;P&gt;I have about 100 folders containing Client quotations. Some of these folders contain sub-folders and those sub-folders contain updated versions of a quotation.&lt;/P&gt;
&lt;P&gt;I need to create a report that extracts the quote values from the various quotes located in each folder. Instead of going through each folder and sub-folder, I require a script that loops through all folders and sub-folders and extracts the quote value and client name from the file (Excel file).&lt;/P&gt;
&lt;P&gt;Is this something that can be done via QlikView?&lt;/P&gt;
&lt;P&gt;Many thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 11:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1976881#M1220819</guid>
      <dc:creator>Berg_127</dc:creator>
      <dc:date>2022-09-05T11:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Through Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1976904#M1220823</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a recursive function like :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;sub subFolder(folder)

TRACE $(folder);

FOR Each vFile in FileList('$(folder)\*')
TRACE $(vFile);
//Load your files
NEXT

FOR Each vFolder in DirList('$(folder)\*')

TRACE $(vFolder);

CALL subFolder('$(vFolder)');

next vFolder

ENDSUB


CALL subFolder('C:\Data\000_Admin');&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 05 Sep 2022 12:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1976904#M1220823</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2022-09-05T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Looping Through Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1977086#M1220827</link>
      <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/For%20Each.htm#:~:text=This%20example%20loads%20a%20list%20of%20all%20QlikView%20related%20files%20in%20a%20folder" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptControlStatements/For%20Each.htm#:~:text=This%20example%20loads%20a%20list%20of%20all%20QlikView%20related%20files%20in%20a%20folder&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 16:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looping-Through-Folders/m-p/1977086#M1220827</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-09-05T16:00:11Z</dc:date>
    </item>
  </channel>
</rss>

