<?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 Loading multiple qvds which have time stamp greater than given date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188780#M627843</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;I'm trying to load all qvds in the given folder which have timestamp greater than the date i give:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;If my date given is 20160915, then i wanna load all qvds greater than 20160915 (this is the time stamp in the last 8 characters of the filename).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 14:26:41 GMT</pubDate>
    <dc:creator>markgraham123</dc:creator>
    <dc:date>2016-09-20T14:26:41Z</dc:date>
    <item>
      <title>Loading multiple qvds which have time stamp greater than given date</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188780#M627843</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;I'm trying to load all qvds in the given folder which have timestamp greater than the date i give:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;If my date given is 20160915, then i wanna load all qvds greater than 20160915 (this is the time stamp in the last 8 characters of the filename).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188780#M627843</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-09-20T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple qvds which have time stamp greater than given date</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188781#M627844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do these QVDs have the same layout, e.g. should they be concatenated into the same Resident table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188781#M627844</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-20T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple qvds which have time stamp greater than given date</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188782#M627845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sir. This is for concatenation into the resident table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188782#M627845</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-09-20T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple qvds which have time stamp greater than given date</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188783#M627846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still have to run a test on this, but you'll get the idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;LET vPath = 'C:\Temp\';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LET vCutoffDate = '20160915';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LET vCutoffNum = num(MakeDate(left(vCutoffDate, 4), mid(vCutoffDate, 5, 2), right(vCutoffDate, 2)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;FOR EACH vFilePath in FileList('$(vPath)\*.QVD')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vFileDate = right(mid(vFilePath, index(vFilePath, '\', -1)+1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&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;&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; index(vFilePath, '.', -1) - index(vFilePath, '\', -1) -1), 8);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&amp;nbsp; IF (len(vFileDate) = &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; and (len(Purgechar(vFileDate, '0123456789')) = 0) THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF MakeDate(left(vFileDate, 4), mid(vFileDate, 5, 2), right(vFileDate, 2)) &amp;gt; vCutoffNum THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResidentTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM [$(vFilePath)] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[Edit] Made a few corrections to make it work allright &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188783#M627846</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-20T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple qvds which have time stamp greater than given date</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188784#M627847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 20:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-multiple-qvds-which-have-time-stamp-greater-than-given/m-p/1188784#M627847</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2016-09-20T20:56:39Z</dc:date>
    </item>
  </channel>
</rss>

