<?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 check on coding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300107#M1198633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;Anyone sees a mistake in this code?&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;it results in: Field not found - &amp;lt;CRM5.contact.name&amp;gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;Let&lt;/B&gt; &lt;B&gt;&lt;I&gt;vConnection&lt;/I&gt;&lt;/B&gt; = 'CRM5.contact Left Join SuperOffice.CRM5.udcontactsmall On CRM5.contact.userdef_id=CRM5.udcontactsmall.udcontactSmall_id Left Join CRM5.udlist On CRM5.udcontactsmall.long01=CRM5.udlist.UDList_id Left Join CRM5.associate On CRM5.contact.associate_id=CRM5.associate.associate_id Left Join CRM5.country On CRM5.contact.country_id=CRM5.country.country_id Left Join CRM5.business On CRM5.contact.business_idx=CRM5.business.business_id Left Join CRM5.category On CRM5.contact.category_idx=CRM5.category.Category_id';&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; CRM5.contact.name as client,&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.country.name as country;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;SELECT&lt;/B&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.contact.name,&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.country.name&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;From &lt;B&gt;&lt;I&gt;$(vConnection)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;appreciate the help&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;kindrgrds&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Hans&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jan 2011 22:09:13 GMT</pubDate>
    <dc:creator>qlikhans</dc:creator>
    <dc:date>2011-01-14T22:09:13Z</dc:date>
    <item>
      <title>check on coding</title>
      <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300107#M1198633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;Anyone sees a mistake in this code?&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;it results in: Field not found - &amp;lt;CRM5.contact.name&amp;gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;Let&lt;/B&gt; &lt;B&gt;&lt;I&gt;vConnection&lt;/I&gt;&lt;/B&gt; = 'CRM5.contact Left Join SuperOffice.CRM5.udcontactsmall On CRM5.contact.userdef_id=CRM5.udcontactsmall.udcontactSmall_id Left Join CRM5.udlist On CRM5.udcontactsmall.long01=CRM5.udlist.UDList_id Left Join CRM5.associate On CRM5.contact.associate_id=CRM5.associate.associate_id Left Join CRM5.country On CRM5.contact.country_id=CRM5.country.country_id Left Join CRM5.business On CRM5.contact.business_idx=CRM5.business.business_id Left Join CRM5.category On CRM5.contact.category_idx=CRM5.category.Category_id';&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; CRM5.contact.name as client,&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.country.name as country;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;SELECT&lt;/B&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.contact.name,&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;CRM5.country.name&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;From &lt;B&gt;&lt;I&gt;$(vConnection)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;appreciate the help&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;kindrgrds&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Hans&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 22:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300107#M1198633</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2011-01-14T22:09:13Z</dc:date>
    </item>
    <item>
      <title>check on coding</title>
      <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300108#M1198634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P&gt;CLIENT ,&lt;/P&gt;&lt;P&gt;COUNTRY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SELECT&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;CRM5.contact.name AS CLIENT ,&lt;/P&gt;&lt;P&gt;CRM5.country.name AS COUNTRY&lt;/P&gt;&lt;P&gt;From &lt;B&gt;&lt;I&gt;$(vConnection)&lt;/I&gt;&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if this works .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 22:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300108#M1198634</guid>
      <dc:creator />
      <dc:date>2011-01-14T22:15:23Z</dc:date>
    </item>
    <item>
      <title>check on coding</title>
      <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300109#M1198635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think the problem is this line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;&lt;B&gt;LOAD&lt;/B&gt; CRM5.contact.name as client,&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;CRM5.country.name as country&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;because QlikView is not making the difference between the name from the table contact and the name from the table country.&lt;/P&gt;&lt;P&gt;In Sql you can have this because internally the name will be table.field, but qlikview doesn't work in this way&lt;/P&gt;&lt;P&gt;Change your script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;BR /&gt;contact_name as client,&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;country_name as country;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;&lt;B&gt;SELECT&lt;/B&gt;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;CRM5.contact.name as contact_name,&lt;BR /&gt;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;CRM5.country.name as country_name&lt;BR /&gt;&lt;BR style="line-height:normal;margin:0cm 0cm 0pt;" /&gt;From &lt;B&gt;&lt;I&gt;$(vConnection)&lt;/I&gt;&lt;/B&gt;;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Anyway, you can check this removing the load statement, and using the pure sql query&lt;/P&gt;&lt;P&gt;Also, check how the driver retrieves the field names, for example in Oracle it doesn't matter if you put the aliases in lowercase, it convert them in upper case, so sometimes QlikView gives you an error because you are retrieving "field_name", but oracle returns "FIELD_NAME"&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 22:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300109#M1198635</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-01-14T22:17:52Z</dc:date>
    </item>
    <item>
      <title>check on coding</title>
      <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300110#M1198636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi priyadarshini&lt;/P&gt;&lt;P&gt;it works! thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bst rgrds&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 23:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300110#M1198636</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2011-01-14T23:37:33Z</dc:date>
    </item>
    <item>
      <title>check on coding</title>
      <link>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300111#M1198637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hector,&lt;/P&gt;&lt;P&gt;the answer &lt;A href="http://community.qlik.com/members/priyadarshini/default.aspx"&gt;&lt;STRONG&gt;priyadarshini&lt;/STRONG&gt;&lt;/A&gt; gave works out fine. I did not test out yours, but it will probably also.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bst rgrds, Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 23:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/check-on-coding/m-p/300111#M1198637</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2011-01-14T23:40:19Z</dc:date>
    </item>
  </channel>
</rss>

