<?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: loops in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046740#M642008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try with a wildmatch &lt;/P&gt;&lt;P&gt;if not wildmatch(Filename,vFilename) THEN&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 07:07:18 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2016-01-28T07:07:18Z</dc:date>
    <item>
      <title>loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046729#M641997</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;Today while referring to Henric post on &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Loops in the Script&lt;/SPAN&gt;&lt;/A&gt;, I came to know that we can load data from excel file whose names are listed in a Tables using below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff;"&gt;For&lt;/SPAN&gt; &lt;EM&gt;vFileNo&lt;/EM&gt; = 1 &lt;SPAN style="color: #0000ff;"&gt;to NoOfRows&lt;/SPAN&gt;('FileListTable')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Let&lt;/SPAN&gt; &lt;EM&gt;vFileName&lt;/EM&gt; = &lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;('FileName',&lt;SPAN style="color: #800000;"&gt;vFileNo&lt;/SPAN&gt;-1,'FileListTable');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vFileName)' &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FileName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;From&lt;/SPAN&gt; [$(vFileName)];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Next&lt;/SPAN&gt; &lt;EM&gt;vFileNo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, In may case I want to load data from those excel files whose names are not listed in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I need to do the changes to achieve output as per my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046729#M641997</guid>
      <dc:creator />
      <dc:date>2016-01-21T12:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046730#M641998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff;"&gt;For&lt;/SPAN&gt; &lt;EM&gt;vFileNo&lt;/EM&gt; = 1 &lt;SPAN style="color: #0000ff;"&gt;to NoOfRows&lt;/SPAN&gt;('FileListTable')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;trace $(vFileNo);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Let&lt;/SPAN&gt; &lt;EM&gt;vFileName&lt;/EM&gt; = &lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;('FileName',&lt;STRONG&gt;$(&lt;/STRONG&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;vFileNo)&lt;/STRONG&gt;&lt;/SPAN&gt;-1,'FileListTable');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;trace '$(&lt;EM&gt;vFileName&lt;/EM&gt; )'; // checking in log-file and process-window&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vFileName)' &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FileName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;From&lt;/SPAN&gt; [$(vFileName)] &lt;STRONG&gt;(ooxml, embedded labels, table is [YourTable])&lt;/STRONG&gt;; // could be also biff-format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Next&lt;/SPAN&gt; &lt;EM style="text-decoration: line-through;"&gt;vFileNo&lt;/EM&gt;&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, 21 Jan 2016 12:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046730#M641998</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-21T12:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046731#M641999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply, But it is not working as accepted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 04:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046731#M641999</guid>
      <dc:creator />
      <dc:date>2016-01-22T04:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046732#M642000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;load data from those excel files whose names are not listed in the table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;So how do you know which files to load? Perhaps you mean all the files in a folder except those listed? You could use something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;For Each vFile in FileList('e:\data\*.xlsx')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFileName = SubField(vFile, '\', -1);&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not(Exists(FileName, vFileName)) Then&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...perform load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Next //vFile&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(adapt for the correct file path and name mask in FileList)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 05:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046732#M642000</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-01-22T05:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046733#M642001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;For&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FileList&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('*.csv')&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFileName&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;vFile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, '\', -1);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;vFileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; *,&lt;BR /&gt; '$(vFile)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','y')+2,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','.')-4-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','y')+2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;From&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [$(vFileName)];&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Next&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have implemented above code but it is not working, while debugging I found that FileName value is Null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Priyanka&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 04:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046733#M642001</guid>
      <dc:creator />
      <dc:date>2016-01-28T04:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046734#M642002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this...&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 10pt; font-family: inherit; color: #808080;"&gt;vFileName&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;STRONG&gt;$(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;STRONG&gt;vFile)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '\', -1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046734#M642002</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-01-28T06:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046735#M642003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not working.&lt;/P&gt;&lt;P&gt;I guess&amp;nbsp; I am missing something in below line because &lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt; is storing Null value&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;vFileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Priyanka&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046735#M642003</guid>
      <dc:creator />
      <dc:date>2016-01-28T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046736#M642004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code assumed you had loaded the file names to exclude into a field called FileName as per your initial post. So FileName is a field, not a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046736#M642004</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-01-28T06:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046737#M642005</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;Yes, I know that&lt;/P&gt;&lt;P&gt;Below is the complete script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ExcelNames:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Now&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;LoadDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Volume;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;For&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FileList&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('*.csv')&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFileName&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;vFile&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, '\', -1);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;vFileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; *,&lt;BR /&gt; '$(vFile)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','y')+2,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','.')-4-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(vFileName)','y')+2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;From&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [$(vFileName)];&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Next&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;vFile &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;ExcelNames is the table containing names of those files which I don't want to load again.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046737#M642005</guid>
      <dc:creator />
      <dc:date>2016-01-28T06:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046738#M642006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how many records are loaded into ExcelNames?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 06:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046738#M642006</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-01-28T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046739#M642007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You create a mapping table with the list of files you don't want to load.&lt;/P&gt;&lt;P&gt;FilterFiles:&lt;/P&gt;&lt;P&gt;Mapping load * inline [ &lt;/P&gt;&lt;P&gt;File,Flag&lt;/P&gt;&lt;P&gt;A1.txt, 0&lt;/P&gt;&lt;P&gt;A2,txt, 0&lt;/P&gt;&lt;P&gt;A3.txt, 0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you load all the files with a where condition at the end.&lt;/P&gt;&lt;P&gt;Load....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;where applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;FilterFiles',FileName,1)=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046739#M642007</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2016-01-28T07:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046740#M642008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try with a wildmatch &lt;/P&gt;&lt;P&gt;if not wildmatch(Filename,vFilename) THEN&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046740#M642008</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-01-28T07:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046741#M642009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, the file extension causing the problem, Try something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1453965231838958" jivemacro_uid="_1453965231838958" modifiedtitle="true"&gt;
&lt;P&gt;ExcelNames:&lt;/P&gt;
&lt;P&gt;Load distinct FileName, Now() as LoadDate&lt;/P&gt;
&lt;P&gt;Resident Volume;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For Each vFile in FileList('*.csv')&lt;/P&gt;
&lt;P&gt;Let vFileName = Replace(SubField(vFile, '\', -1),'.csv','');&lt;/P&gt;
&lt;P&gt;If Not Exists(FileName,vFileName) Then&lt;/P&gt;
&lt;P&gt;Load *,&lt;/P&gt;
&lt;P&gt;'$(vFile)' as FileName,&lt;/P&gt;
&lt;P&gt;Date(Mid('$(vFileName)',Index('$(vFileName)','y')+2,Index('$(vFileName)','.')-4-Index('$(vFileName)','y')+2)) as Date&lt;/P&gt;
&lt;P&gt;From [$(vFileName)];&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;P&gt;Next vFile&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046741#M642009</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-01-28T07:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046742#M642010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;xcelNames:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Load distinct FileName, Now() as LoadDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Resident Volume;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM style="color: #ff0000;"&gt;Concat_file:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM style="color: #ff0000;"&gt;LOAD&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM style="color: #ff0000;"&gt;&amp;nbsp; Concat(Chr(39)&amp;amp;FileName&amp;amp;chr(39),',') as FileList&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM style="color: #ff0000;"&gt;Resident ExcelNames;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM style="color: #ff0000;"&gt;Let vFileList=Purgechar(Peek('FileList'),chr(39));&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #ff0000; font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"&gt;&lt;EM&gt;DROP Table Concat_file;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;For Each vFile in FileList('*.csv')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Let vFileName = SubField(vFile, '\', -1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: tahoma, arial, helvetica, sans-serif;"&gt;If Not Match('$(vFileName)','$(vFileList)') then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;'$(vFile)' as FileName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Date(Mid('$(vFileName)',Index('$(vFileName)','y')+2,Index('$(vFileName)','.')-4-Index('$(vFileName)','y')+2)) as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;[$(vFileName)]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: tahoma, arial, helvetica, sans-serif;"&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;End If&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;Next vFile&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 07:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046742#M642010</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-01-28T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046743#M642011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess there is no issue with file extension as FileName column in ExcelNames Table contain extension of all files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046743#M642011</guid>
      <dc:creator />
      <dc:date>2016-01-28T08:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046744#M642012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this code, its is loading all the files. i.e filenames which are existing in the table as well as which are not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046744#M642012</guid>
      <dc:creator />
      <dc:date>2016-01-28T08:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: loops in script</title>
      <link>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046745#M642013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's worked for me. Did you try to check that in Debug mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loops-in-script/m-p/1046745#M642013</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-01-28T08:30:49Z</dc:date>
    </item>
  </channel>
</rss>

