<?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: Dynamically creating a qvd file name. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-creating-a-qvd-file-name/m-p/418782#M155786</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; Use Now() instead of &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; color: #808080;"&gt;&lt;EM style="font-size: 12px;"&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Today&lt;/SPAN&gt;())&amp;amp;&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;day&lt;/SPAN&gt;(&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Today&lt;/SPAN&gt;())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;Hope it helps&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 19:40:48 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-09-18T19:40:48Z</dc:date>
    <item>
      <title>Dynamically creating a qvd file name.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-creating-a-qvd-file-name/m-p/418781#M155785</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 want to dynamically create a qvd file name in the script, i.e. I want the qvd file name to be different each time it is created.&lt;/P&gt;&lt;P&gt;I'm using these script instructions that are not working, but I think I'm near to find the solution.&amp;nbsp; Could any one provide ideas?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;// Save all employees to QVD file.&lt;BR /&gt;// Saves headcount for the particular month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;vTableName&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; = 'viewEmployee'; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM style="color: #808080;"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vMonthDay&lt;/EM&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;())&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;day&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;());&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;vFilename&lt;/EM&gt;&lt;/SPAN&gt; = &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/SPAN&gt;&amp;amp;&lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vMonthDay)&lt;/EM&gt;&lt;/SPAN&gt;;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;() &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EffectiveDate&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;());&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;SELECT&lt;/STRONG&gt; &lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt; &lt;STRONG&gt;"mydatabase".dbo.viewEmployee&lt;/STRONG&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;into&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vRoot)&lt;/EM&gt;&lt;/SPAN&gt;Extracts\&lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vFilename)&lt;/EM&gt;&lt;/SPAN&gt;.qvd;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/SPAN&gt;; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 19:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-creating-a-qvd-file-name/m-p/418781#M155785</guid>
      <dc:creator>wgonzalez</dc:creator>
      <dc:date>2012-09-18T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating a qvd file name.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-creating-a-qvd-file-name/m-p/418782#M155786</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; Use Now() instead of &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; color: #808080;"&gt;&lt;EM style="font-size: 12px;"&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Today&lt;/SPAN&gt;())&amp;amp;&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;day&lt;/SPAN&gt;(&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Today&lt;/SPAN&gt;())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;Hope it helps&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 19:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-creating-a-qvd-file-name/m-p/418782#M155786</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-18T19:40:48Z</dc:date>
    </item>
  </channel>
</rss>

