<?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 Use function in store into string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290013#M107633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if it is possible to use a function when you use store into?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want the filename to be NameOfFile_20120216.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the following QV complains about an "Unknown file format specifier"&lt;/P&gt;&lt;P&gt;store * from Table into D:\QlikViewSystems\PCD\Web\3_Load\NameOfFile_'&amp;amp;today()&amp;amp;'.txt (txt, delimiter is ';');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2012 13:54:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-16T13:54:29Z</dc:date>
    <item>
      <title>Use function in store into string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290013#M107633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if it is possible to use a function when you use store into?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want the filename to be NameOfFile_20120216.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the following QV complains about an "Unknown file format specifier"&lt;/P&gt;&lt;P&gt;store * from Table into D:\QlikViewSystems\PCD\Web\3_Load\NameOfFile_'&amp;amp;today()&amp;amp;'.txt (txt, delimiter is ';');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290013#M107633</guid>
      <dc:creator />
      <dc:date>2012-02-16T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Use function in store into string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290014#M107634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't put any functions directly into the store-statement. But you can put your function into a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vExportFilename = '&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;D:\QlikViewSystems\PCD\Web\3_Load\NameOfFile_' &amp;amp; today() &amp;amp; '.txt';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;store * from Table into $(vExportFilename) (txt, delimiter is ';');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Edgar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 14:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290014#M107634</guid>
      <dc:creator>ekech_infomotio</dc:creator>
      <dc:date>2012-02-16T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Use function in store into string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290015#M107635</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;Assign the file path into a variable like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET fileName = 'D:\QlikViewSystems\PCD\Web\3_Load\NameOfFile_'&amp;amp;today()&amp;amp;'.txt (txt, delimiter is' &amp;amp; char(39)&amp;amp; ';' &amp;amp; char(39) &amp;amp; ')';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now assign the filename &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store * from Table into $(fileName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 14:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290015#M107635</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-16T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Use function in store into string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290016#M107636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both jagan and Edgar are correct, however you need to format the date otherwise the windows filesystem will not recognise this as a valid file name :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vExportFilename = 'temp' &amp;amp; date(today(),'dd-mm-yy') &amp;amp; '.txt';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store temp into $(vExportFilename) (txt, delimiter is ';');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BS, Ioannis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 14:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-function-in-store-into-string/m-p/290016#M107636</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-02-16T14:18:25Z</dc:date>
    </item>
  </channel>
</rss>

