<?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 to load files with dates in name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190506#M883082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can define a variable&lt;/P&gt;&lt;P&gt;Let vtoday=date(today(),'YYYY.MM.DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the use&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\FILE_LOCATION\NEW_AGENT_$(vtoday).TXT]&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 14:52:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-22T14:52:23Z</dc:date>
    <item>
      <title>How to load files with dates in name</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190504#M883080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a file that is automatically generated and replaced everyday by a file with same file name except the date changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example = NEW_AGENT_&lt;STRONG style="color: #ff0000;"&gt;2016.09.22&lt;/STRONG&gt;.TXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only need to pull current days file. Is there a way to do this without going in and updating the load statement everyday with the new file name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Agent Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Agent Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Curr Rep Type] &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\FILE_LOCATION\NEW_AGENT_2016.09.22.TXT]&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190504#M883080</guid>
      <dc:creator>mwscott1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load files with dates in name</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190505#M883081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LET vDate = Date(Today(), 'YYYY.MM.DD');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD [Agent Code],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Agent Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Curr Rep Type]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[\\FILE_LOCATION\NEW_AGENT_&lt;SPAN style="color: #ff0000;"&gt;$(vDate)&lt;/SPAN&gt;.TXT]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190505#M883081</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T14:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to load files with dates in name</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190506#M883082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can define a variable&lt;/P&gt;&lt;P&gt;Let vtoday=date(today(),'YYYY.MM.DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the use&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\FILE_LOCATION\NEW_AGENT_$(vtoday).TXT]&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 14:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-files-with-dates-in-name/m-p/1190506#M883082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-22T14:52:23Z</dc:date>
    </item>
  </channel>
</rss>

