<?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: MS Access Import data issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465652#M695348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as i mentioned the import is from MS Acess, thus Load will not work. i have to use Select &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2013 11:07:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-16T11:07:30Z</dc:date>
    <item>
      <title>MS Access Import data issue</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465650#M695346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am importting 2 tables from same MS access and doing left join and using iF statement , but giving error. see below syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT To [MS Access Database; DBQ=path];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raw:&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;category,&lt;/P&gt;&lt;P&gt;[country of issue],&lt;/P&gt;&lt;P&gt;[Coll Type],&lt;/P&gt;&lt;P&gt;[buss code],&lt;/P&gt;&lt;P&gt;if([buss code]='ufu', 'Europe',if([buss code]='afu','Asia','')) as Region&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;category,&lt;/P&gt;&lt;P&gt;value&lt;/P&gt;&lt;P&gt;from table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gives error on:&lt;/P&gt;&lt;P&gt;-If statement syntax&lt;/P&gt;&lt;P&gt;-left join as ODBC Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 10:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465650#M695346</guid>
      <dc:creator />
      <dc:date>2013-05-16T10:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access Import data issue</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465651#M695347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IF is QlikView syntax and can't be used inside a SQL Select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a preceding load and use the IF there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 10:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465651#M695347</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2013-05-16T10:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access Import data issue</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465652#M695348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as i mentioned the import is from MS Acess, thus Load will not work. i have to use Select &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 11:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465652#M695348</guid>
      <dc:creator />
      <dc:date>2013-05-16T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access Import data issue</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465653#M695349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;raw:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;load&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;if([buss code]='ufu', 'Europe',if([buss code]='afu','Asia','')) as Region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;select&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;category,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[country of issue],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[Coll Type],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[buss code],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;from table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 11:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465653#M695349</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2013-05-16T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: MS Access Import data issue</title>
      <link>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465654#M695350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MS-Access has the iif construct. Maybe this works: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iif([buss code]='ufu', 'Europe',iif([buss code]='afu','Asia','')) as Region. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;It's possible you need to use double quotes instead of single quotes. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Alternatively you can use a preceding load:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; category,[country of issue],[Coll Type],[buss code],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([buss code]='ufu', 'Europe',if([buss code]='afu','Asia','')) as Region;&lt;/P&gt;&lt;P&gt;Select category,[country of issue],[Coll Type],[buss code]&lt;/P&gt;&lt;P&gt;from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the left join fails is impossible to tell without more information. Do you also get an error if you load table two as a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;select category, value from table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 11:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MS-Access-Import-data-issue/m-p/465654#M695350</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-16T11:16:22Z</dc:date>
    </item>
  </channel>
</rss>

