<?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: Issue with date format in QVD (load with a FOR loop) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562818#M210064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is indeed to avoid using date() function because I have planty of date fields and I would not like to force them one by one... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2013 12:43:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-13T12:43:11Z</dc:date>
    <item>
      <title>Issue with date format in QVD (load with a FOR loop)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562816#M210062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Thanks to everyone to make living this community, your knowledge and help are precious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with using QVD file and date formating, and I can not find a specific answer to my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a application QVW in which I load many QVD files (more than 100) with a "for" loop. Indeed, I am not able to know by advance how many QVD I would have to load (I can have 1 or more QVD by table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, I used something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;for each vQVDName in fileliste( *.qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; $(table_name):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; load * from $(qvd_name);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;next vQVDName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the QVD load perfectly, except that the dates do not appear as date but as integers . Forcing date format works however.&lt;/P&gt;&lt;P&gt;I searched the discussion, but I do not want to use "date#" function as it would lead to write one load instruction for each of the tables (remember: more than 100...) and, in terms of application maintenance, I think this is not optimized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to force date format in QVD ? Or is there a way for QV to recognized date fields (e.g by system tables)? Do you know a workaround for this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much by advance for any help you will bring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Romain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 07:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562816#M210062</guid>
      <dc:creator />
      <dc:date>2013-08-07T07:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with date format in QVD (load with a FOR loop)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562817#M210063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way you prevent this is to make sure you give all the date values a format using the date() function before &lt;EM&gt;storing&lt;/EM&gt; the date field(s) into a qvd. Once the dates have both a numeric value (the integers) and also a textual display format you can store them into a qvd and be sure to that the format will still exist when you load data from the qvd's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 18:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562817#M210063</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-12T18:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with date format in QVD (load with a FOR loop)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562818#M210064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is indeed to avoid using date() function because I have planty of date fields and I would not like to force them one by one... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 12:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562818#M210064</guid>
      <dc:creator />
      <dc:date>2013-08-13T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with date format in QVD (load with a FOR loop)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562819#M210065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you should force the data fields in the application(s) which create the QVD files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 13:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-date-format-in-QVD-load-with-a-FOR-loop/m-p/562819#M210065</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-08-13T13:08:04Z</dc:date>
    </item>
  </channel>
</rss>

