<?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: Re: Compare FileName with a field from a txt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669823#M1052647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kartthinagan, It does indeed.See the attached file. What I want is to search into this PreviousFileName and see if every file that I'm currently founding in the data folder, already exists in that field.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 10:28:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-21T10:28:09Z</dc:date>
    <item>
      <title>Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669821#M1052645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, maybe somebody can show me the light &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My application takes the data from a lot of excel files. To do that I use a for each loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_141388406090170 jive_macro_code" jivemacro_uid="_141388406090170" modifiedtitle="true"&gt;
&lt;P&gt;//Here I load the files that had been already loaded&lt;/P&gt;
&lt;P&gt;PreviousFilesInside:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD PreviousFileName&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM FilesInside.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (txt, utf8, embedded labels, delimiter is '\t');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each FileExtension in 'xls'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Here I load every file in the folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each FoundFile in filelist( Root &amp;amp; '\*.' &amp;amp; FileExtension)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let temp=subfield('$(FoundFile)', '\' ,-1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let fileName=SubField('$(temp)','.', 1);&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //This table stores the files which have been already loaded &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FilesInside:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inline&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [filename&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(fileName)'];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Here if the file found is not in the PreviouFileName field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // will be loaded&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Exists(PreviousFileName,'$(filename)')&amp;lt;&amp;gt;-1) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...Loading data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next FoundFile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next FileExtension&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Here we save the new files in the txt file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE filename AS PreviousFileName FROM FilesInside Into FilesInside.txt (txt);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;The problem is that I can´t compare properly the two filesnames. This statement doesn't work&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14138845979538904" jivemacro_uid="_14138845979538904"&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;if(Exists(PreviousFileName,'$(filename)')&amp;lt;&amp;gt;-1) &lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Does anybody know what am I doinq wrong?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669821#M1052645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669822#M1052646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per the script, I think the file name is not going and saved in the PreviousFilename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the script as below and check if its working&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;STORE $(filename) &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; PreviousFileName &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; FilesInside &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #006699;"&gt;Into&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt; FilesInside.txt (txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669822#M1052646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669823#M1052647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kartthinagan, It does indeed.See the attached file. What I want is to search into this PreviousFileName and see if every file that I'm currently founding in the data folder, already exists in that field.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669823#M1052647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669824#M1052648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont understand y u always reading the data from the txt file and also writing back to that file with the new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, U can load the data from that txt file once and store it into a qvd.&lt;/P&gt;&lt;P&gt;and then compare the new filename with the values in the Qvd file &lt;/P&gt;&lt;P&gt;and in the end u can just concatenate the newdata into the table and store it into the same QVD file again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669824#M1052648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669825#M1052649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surely you're right but I think my problem is not where I store the data (I'll try it your way) but how to compare the two values in the IF statement.&lt;/P&gt;&lt;P&gt;Thanks a lot for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669825#M1052649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669826#M1052650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if u follow my method u can do the comparison like this.&lt;/P&gt;&lt;P&gt;TempCount:&lt;/P&gt;&lt;P&gt;Load count(&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;PreviousFileName&lt;/SPAN&gt;) as count&lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;QVDfile.qvd(qvd)&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;PreviousFileName = &lt;SPAN style="color: #0000ff; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;'$(filename)';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;//if there is a filename that exists in the qvd, then there will be one row otherwise there will be no rows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;let vCount = Peek('&lt;SPAN style="font-size: 13.6000003814697px;"&gt;count&lt;/SPAN&gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;//now in the script u can write as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12px; background-color: #f8f8f8; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;if(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f8f8f8;"&gt;'$(&lt;SPAN style="color: #0000ff; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;vCount &lt;/SPAN&gt;)'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f8f8f8;"&gt;&amp;lt;&amp;gt;-1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//script continues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669826#M1052650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T11:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669827#M1052651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14138936797101170" jivemacro_uid="_14138936797101170"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Finally I've achived what I wanted this way&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14138937486627786" jivemacro_uid="_14138937486627786" modifiedtitle="true"&gt;
&lt;P&gt;if len(lookup('PreviousFileName', 'PreviousFileName', '$(fileName)', 'PreviousFilesInside'))=0 THEN&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I'd tried your method and I like it too. I've made note. &lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;What I don´t appreciate is if is really there a big difference between storing the filenames&amp;nbsp; in a txt file or in a qvd. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669827#M1052651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T12:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare FileName with a field from a txt</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669828#M1052652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear that u have achieved the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofcourse there are lot of differences when u use QVD and Txt file.QVD file is an optimized one.&lt;/P&gt;&lt;P&gt;and also using lookup will increase the reload time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-FileName-with-a-field-from-a-txt/m-p/669828#M1052652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T12:25:54Z</dc:date>
    </item>
  </channel>
</rss>

