<?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: Qlikview alters zero-padded values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964201#M647081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try adding text in the preceding load to these fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field) as field,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field2) as field2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..... other fields&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM .\File.dbf;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 16:38:22 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-11-09T16:38:22Z</dc:date>
    <item>
      <title>Qlikview alters zero-padded values</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964200#M647080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a problem loading in Qlikview particular codes from a dBase file.&lt;/P&gt;&lt;P&gt;The script I'm using is very simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [dBase Files];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM .\File.dbf;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some fields in the source DBF file use a particolar coding system in which, for example, '52', '052', '0052' are three completely different codes. Qlikview seems to fail to load correctly these values, randomly adding or removing inital '0' digit, for example:&lt;/P&gt;&lt;P&gt;code '0042' becomes '042' and&amp;nbsp; code '539' becomes '0539'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to change the ODBC driver (MS Access dBase Driver v. 15) with an OLEDB driver (Visuale FoxPro) but the problem still remains; using the same ODBC driver in excel the values are loaded correctly so it isn't a bug of the driver and the original dfb file isn't damaged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force Qlikview to load these values without trying to alter/modify/interpret anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964200#M647080</guid>
      <dc:creator />
      <dc:date>2015-11-09T16:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview alters zero-padded values</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964201#M647081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try adding text in the preceding load to these fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field) as field,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field2) as field2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..... other fields&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM .\File.dbf;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964201#M647081</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-09T16:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview alters zero-padded values</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964202#M647082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much: using preceding load QV the values are correctly loaded. At this point, the only problem is that the correct values are renamed, in fact the commands:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field) as field,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't work because 'field' is already present in the table; instead I've used:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;text&lt;/STRONG&gt;(field) as field_NEW,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I'll have to load again the table to bring back 'field_NEW' to the original name and drop out the wrong values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field_NEW as field,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;Resident ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 14:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964202#M647082</guid>
      <dc:creator />
      <dc:date>2015-11-10T14:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview alters zero-padded values</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964203#M647083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the preceding load doesn't change the names if you rename the field with the same name of the SQL SELECT ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;without preceding load: you have 2 fields with names field1 and field2&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM TABLE;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with preceding load: you have the same 2 fields with the same names field1 and field2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(field1) as field1,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text(field2) as field2;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;SQL SELECT&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;FROM TABLE;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is that if you have a problem with field1 already present in the table, this should happen with or without preceding load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 18:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-alters-zero-padded-values/m-p/964203#M647083</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-10T18:29:52Z</dc:date>
    </item>
  </channel>
</rss>

