<?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: Store table into Excel file with variable for timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1889722#M1217236</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;OMG you are so right!&lt;/P&gt;
&lt;P&gt;Thank you! Now of course it workes perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 12:46:31 GMT</pubDate>
    <dc:creator>Diana_B</dc:creator>
    <dc:date>2022-02-07T12:46:31Z</dc:date>
    <item>
      <title>Store table into Excel file with variable for timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888610#M1217175</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;in my QlikView script I want to store a table as .csv file.&lt;BR /&gt;Later in my script I want to reload all stored files.&lt;BR /&gt;Therefore each stored file must have a distinct filename.&lt;/P&gt;
&lt;P&gt;To solve this problem I set a variable with the timestamp (now()). As the script runs twice a day date(today()) doesn't work as variable because the first file stored at that day would be overwritten with the second run of the script.&lt;/P&gt;
&lt;P&gt;It was possible to store the file as I set date(today()) as variable:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LET vDate = Date(today(1), 'DD-MM-YYYY');
store BelegungBesetzung_Store into \\...\StoreTabellen\$(vDate)_BelegungBesetzung.csv (txt);&lt;/LI-CODE&gt;
&lt;P&gt;But as I mentioned I need the time in the filename as well. &lt;/P&gt;
&lt;P&gt;Therefore I tried the following:&lt;BR /&gt;1)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LET vTime = now();
store BelegungBesetzung_Store into \\...\StoreTabellen\$(vTime)_BelegungBesetzung.csv (txt);&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;2)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LET vTime = Timestamp(Now(),'DD-MM-YYYY hh:mm:ss');
store BelegungBesetzung_Store into \\...\StoreTabellen\$(vTime)_BelegungBesetzung.csv (txt);&lt;/LI-CODE&gt;
&lt;P&gt;Both of them didn't work and the following error message was shown:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;File not found error&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Cannot open file: '\\...Store Tabellen\03.02.2022 10:44: 51_BelegungBesetzung.csv' &lt;BR /&gt;System error: Failed to open file in write mode for file \\...Store Tabellen\03.02.2022 10:44: 51_BelegungBesetzung.csv&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Again: I need to store the table into a csv-file but everytime with a different name. I thought a timestamp works for this, but maybe it can also be solved differently.&lt;/P&gt;
&lt;P&gt;Can anyone please help me with this problem?&lt;/P&gt;
&lt;P&gt;Thank you in advance!&lt;/P&gt;
&lt;P&gt;Best regards &lt;BR /&gt;Diana&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888610#M1217175</guid>
      <dc:creator>Diana_B</dc:creator>
      <dc:date>2022-02-03T11:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Store table into Excel file with variable for timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888636#M1217176</link>
      <description>&lt;P&gt;may be below link will help you....&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Store-Qvd-file-with-Timestamp-value/tac-p/1481659" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Store-Qvd-file-with-Timestamp-value/tac-p/1481659&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888636#M1217176</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-02-03T11:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Store table into Excel file with variable for timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888719#M1217181</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47358"&gt;@anat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;thanks for your reply!&lt;/P&gt;
&lt;P&gt;I already tried this before I posted my question in this forum, but unfortunately it didn't work.&lt;BR /&gt;Do you have another idea how to solve my problem?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1888719#M1217181</guid>
      <dc:creator>Diana_B</dc:creator>
      <dc:date>2022-02-03T14:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Store table into Excel file with variable for timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1889194#M1217209</link>
      <description>&lt;P&gt;Colons are not allowed in filenames! Therefore try for example:&lt;/P&gt;
&lt;P&gt;LET vTime = Timestamp(Now(),'DD-MM-YYYY hhmmss');&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 12:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1889194#M1217209</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2022-02-04T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Store table into Excel file with variable for timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1889722#M1217236</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;OMG you are so right!&lt;/P&gt;
&lt;P&gt;Thank you! Now of course it workes perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 12:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-table-into-Excel-file-with-variable-for-timestamp/m-p/1889722#M1217236</guid>
      <dc:creator>Diana_B</dc:creator>
      <dc:date>2022-02-07T12:46:31Z</dc:date>
    </item>
  </channel>
</rss>

