<?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: How do I specify Load From filename greater than X? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437825#M485650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is interesting, I can get through with no error message setup as shown (though new test data isn’t brought in), but I noticed a missing ) on the $(File) in the below timestamp# line.  When I fix that, I get error messages about table not found further down and wonder if program simply didn’t continue past that missing ) before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp#(mid('$(File)',10,19),'YYYY-MM-DD_hh-mm-ss') as FileTimeStamp,&lt;/P&gt;&lt;P&gt;(I also changed the 17 to 19 when I saw the filenames had hyphens between hh mm ss, and changed underscore to hyphen when I saw that with YYYY MM DD on my end, but those should be superficial/correct changes.)&lt;/P&gt;&lt;P&gt;New error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;/P&gt;&lt;P&gt;MostRecentFileName:&lt;/P&gt;&lt;P&gt;LOAD Name AS MostRecentFileName&lt;/P&gt;&lt;P&gt;RESIDENT Files&lt;/P&gt;&lt;P&gt;WHERE FileTimeStamp &amp;gt; timestamp#('2013-04-01_12-00-00','YYYY-MM-DD_hh-mm-ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script line error:&lt;/P&gt;&lt;P&gt;for each file in FieldValueList('MostRecentFileName')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;/P&gt;&lt;P&gt;DROP TABLES statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, follow-up (probably newbie) question is how/where do I make a table of the sort needed?  (Other person said I’d need to do something to create a timestamp field, but it looks like that is handled in one of the versions of the script submitted around here.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 16:59:29 GMT</pubDate>
    <dc:creator>stevelord</dc:creator>
    <dc:date>2013-04-10T16:59:29Z</dc:date>
    <item>
      <title>How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437820#M485645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a folder where files are being loaded automatically going forward, and previous old files are a hodgepodge of filetypes and tablenames, so I can't just refer to the whole folder with the *.xlsx wild card.&amp;nbsp; Additionally, there is a program that 'cleans' this folder by removing files it didn't create and replacing files it did, so their modified/created date attribute is always today.&amp;nbsp; (And I don't want to make anyone turn off a cleaning program or de-automate their folder.)&amp;nbsp; Fortunately, the files have the date they were created built into the filename itself like this:&amp;nbsp; "datafeed-2013_04_09_123456.xlsx".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at present I have the existing hodgepodge of files loaded individually in my QV script and I want a piece of script that only loads from files with filename "datafeed-*.xls" if filename is greater than "datafeed-2013_04_09_123456.xlsx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(And I'm keeping the QVW script in a separate folder so the cleaning program doesn't delete it. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS&amp;gt; I'm working with qlikview personal edition building scripts that refer to a shared drive, so text in body of the message would be great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 17:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437820#M485645</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-09T17:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437821#M485646</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attachment on this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/thread/77235?tstart=0"&gt;http://community.qlik.com/thread/77235?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 18:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437821#M485646</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-09T18:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437822#M485647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik, can you copy the text out to the body of your post.&amp;nbsp; I can't read other people's QV files until I get off probationery period and company buys me a license. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 19:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437822#M485647</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-09T19:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437823#M485648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it looks like it will all work, just the snag of a script line error related to below.&amp;nbsp; How can I resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script line error:&lt;/P&gt;&lt;P&gt;Sub DoDir ('P:\Production\Incentive\_REDEMPTION\InBound\Archive')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a text copy of the script with my actual values filled in now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I replaced the word Root with the path in the script below.&amp;nbsp; I tried with and without the apostrophes.&amp;nbsp; The other lines seem functional where I replaced Root with ‘P:\Production\Incentive\_REDEMPTION\InBound\Archive’)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 19:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437823#M485648</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-09T19:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437824#M485649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, File isn't pulling data from fthe new files but the error message is gone now.&amp;nbsp; Am I missing something (I am a newbie crashtraining)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message went away when I put the word Root back in and made the script look like above text (with my own file path in place of Kaushik's)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;DoDir&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Root&lt;/STRONG&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;Ext&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; 'xlsx' &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;// filetype to search for in current directory &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;File&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; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '\datafeed-*.' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Files: &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; '$(File)' &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;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;timestamp#&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;('$(File',11,19),'YYYY-MM-DD_hh-mm-ss') &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;FileTimeStamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('$(File)') &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;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&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; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('FileCount'), 1) &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;FileCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&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; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Autogenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; 1; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Ext&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&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;Dir&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;DirList&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '\*') &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Call&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;DoDir&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;('P:\Production\Incentive\_REDEMPTION\InBound\Archive') &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;Dir&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&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;Sub&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Call&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;DoDir&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; ('P:\Production\Incentive\_REDEMPTION\InBound\Archive'); &lt;BR /&gt;&lt;BR /&gt;MostRecentFileName:&lt;BR /&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;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Name&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;MostRecentFileName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&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; Files&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('2013-04-01_12-21-35','YYYY-MM-DD_hh-mm-ss');&lt;BR /&gt;&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;vFileToLoad&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;FieldValueCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('MostRecentFileName');&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&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;file&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;FieldValueList&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;('MostRecentFileName')&lt;BR /&gt;&lt;BR /&gt;MostRecentdata:&lt;BR /&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;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Card Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Company Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;UPPER&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Recipient Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Recipient Email Address]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Item SKU]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Item Description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Shipment Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[LOB Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[LOB Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)=0,'blank',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[LOB Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&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; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(file)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; GC);&lt;BR /&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;file&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; MostRecentFileName,Files;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 15:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437824#M485649</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-10T15:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I specify Load From filename greater than X?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437825#M485650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is interesting, I can get through with no error message setup as shown (though new test data isn’t brought in), but I noticed a missing ) on the $(File) in the below timestamp# line.  When I fix that, I get error messages about table not found further down and wonder if program simply didn’t continue past that missing ) before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp#(mid('$(File)',10,19),'YYYY-MM-DD_hh-mm-ss') as FileTimeStamp,&lt;/P&gt;&lt;P&gt;(I also changed the 17 to 19 when I saw the filenames had hyphens between hh mm ss, and changed underscore to hyphen when I saw that with YYYY MM DD on my end, but those should be superficial/correct changes.)&lt;/P&gt;&lt;P&gt;New error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;/P&gt;&lt;P&gt;MostRecentFileName:&lt;/P&gt;&lt;P&gt;LOAD Name AS MostRecentFileName&lt;/P&gt;&lt;P&gt;RESIDENT Files&lt;/P&gt;&lt;P&gt;WHERE FileTimeStamp &amp;gt; timestamp#('2013-04-01_12-00-00','YYYY-MM-DD_hh-mm-ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script line error:&lt;/P&gt;&lt;P&gt;for each file in FieldValueList('MostRecentFileName')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;/P&gt;&lt;P&gt;DROP TABLES statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, follow-up (probably newbie) question is how/where do I make a table of the sort needed?  (Other person said I’d need to do something to create a timestamp field, but it looks like that is handled in one of the versions of the script submitted around here.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 16:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-specify-Load-From-filename-greater-than-X/m-p/437825#M485650</guid>
      <dc:creator>stevelord</dc:creator>
      <dc:date>2013-04-10T16:59:29Z</dc:date>
    </item>
  </channel>
</rss>

