<?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: Setting Date in the load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562452#M209926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing SET to LET worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 20:10:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-10T20:10:44Z</dc:date>
    <item>
      <title>Setting Date in the load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562449#M209923</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;I tried setting the date in the load statement as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vName = date(Today();'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLDEDB connect to .......&lt;/P&gt;&lt;P&gt;Test_daily:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL query statement................&lt;/P&gt;&lt;P&gt;.................................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Test_daily into Test_daily_$(vName).qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this comes with a error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unknown file format specifier Today( store Test_daily into Test_daily_date(Today();'YYYYMMDD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562449#M209923</guid>
      <dc:creator />
      <dc:date>2013-07-10T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Date in the load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562450#M209924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;LET &lt;/STRONG&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Set vName = date(Today();'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562450#M209924</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2013-07-10T19:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Date in the load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562451#M209925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be a comma, no?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt; vName = date(Today(),'YYYYMMDD');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use LET instead of SET because it assigns the calculated value to the variable whereas SET just assigns the text on the right of the = to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Stephen Redmond is author of &lt;/SPAN&gt;&lt;A href="http://www.packtpub.com/qlikview-developers-cookbook/book?utm_source=mention.com&amp;amp;utm_medium=QVCommunity&amp;amp;utm_campaign=book_mention"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;QlikView for Developer's Cookbook&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;He is CTO of &lt;A href="http://www.capventis.com/"&gt;CapricornVentis&lt;/A&gt; a &lt;/SPAN&gt;&lt;A href="http://www.qlik.com/us/explore/experience/free-download?id=/&amp;amp;sourcepartner=CapricornVentis"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;QlikView&lt;/SPAN&gt;&lt;/A&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Elite Partner. We are always looking for the right people to &lt;/SPAN&gt;&lt;A href="http://capventis.com/category/careers/"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;join our team&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Follow me on Twitter: &lt;/SPAN&gt;&lt;A href="http://twitter.com/stephencredmond"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;@stephencredmond&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562451#M209925</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2013-07-10T19:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Date in the load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562452#M209926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing SET to LET worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 20:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Date-in-the-load-statement/m-p/562452#M209926</guid>
      <dc:creator />
      <dc:date>2013-07-10T20:10:44Z</dc:date>
    </item>
  </channel>
</rss>

