<?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: Associated field coming through as two different data types on load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707289#M63901</link>
    <description>&lt;P&gt;In your load, you can wrap the field in the text() function to keep it as a text value:&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD Text(ClientID) AS&amp;nbsp;&lt;SPAN&gt;ClientID, Field2, Field3;&lt;/SPAN&gt;&lt;BR /&gt;SELECT&amp;nbsp;&lt;SPAN&gt;ClientID, Field2, Field3&lt;/SPAN&gt;&lt;BR /&gt;FROM SqlTable;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2020 22:01:58 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2020-06-01T22:01:58Z</dc:date>
    <item>
      <title>Associated field coming through as two different data types on load</title>
      <link>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707279#M63900</link>
      <description>&lt;P&gt;I have a multi-concatenated data table from different data sources that all use (we'll call it) ClientID.&amp;nbsp; &amp;nbsp;I also am seperately importing the Client table with the name, address,&amp;nbsp; phone# ect...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;all of the originating data sources have this field as a varchar(9) in SQL.&amp;nbsp; Some of the values of ClientID might have leading zeros which is why it is a varchar and not an integer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main datatable imports it fine, but the Client table gets imported as a number and is causing my association on the field, from the main datatable to the Client table, to not work properly&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;what might I need to do to alter my import script to fix this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707279#M63900</guid>
      <dc:creator>sicdude</dc:creator>
      <dc:date>2021-04-02T08:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Associated field coming through as two different data types on load</title>
      <link>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707289#M63901</link>
      <description>&lt;P&gt;In your load, you can wrap the field in the text() function to keep it as a text value:&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD Text(ClientID) AS&amp;nbsp;&lt;SPAN&gt;ClientID, Field2, Field3;&lt;/SPAN&gt;&lt;BR /&gt;SELECT&amp;nbsp;&lt;SPAN&gt;ClientID, Field2, Field3&lt;/SPAN&gt;&lt;BR /&gt;FROM SqlTable;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 22:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707289#M63901</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-06-01T22:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Associated field coming through as two different data types on load</title>
      <link>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707466#M63902</link>
      <description>&lt;P&gt;it's always the simplest things that cause the biggest headaches.&amp;nbsp; The bane of my programming career is the smallest little things &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Associated-field-coming-through-as-two-different-data-types-on/m-p/1707466#M63902</guid>
      <dc:creator>sicdude</dc:creator>
      <dc:date>2020-06-02T13:27:00Z</dc:date>
    </item>
  </channel>
</rss>

