<?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 connect queries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246841#M1208933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;You can store connection strings as variables like anything else. Then you would use variable expansion to call the string. I believe you can do this at any point, including inside other connection strings.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Mar 2010 21:35:08 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2010-03-05T21:35:08Z</dc:date>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246840#M1208932</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 want to build a QV but the query becomes too complex. Is it possible to give a queries names, and then connect the queries to eachother, for example as you would do in MSaccess?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 21:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246840#M1208932</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-05T21:22:24Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246841#M1208933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;You can store connection strings as variables like anything else. Then you would use variable expansion to call the string. I believe you can do this at any point, including inside other connection strings.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 21:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246841#M1208933</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-05T21:35:08Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246842#M1208934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad, since I am a newbie, I do not exactly understand what you are advising me here. Would it be possible to post an example?&lt;/P&gt;&lt;P&gt;kndrgrds,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 21:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246842#M1208934</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-05T21:47:45Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246843#M1208935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. But, I think I misunderstood--you want queries, not connection strings. Can you give me an example of a query you would like to store?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 22:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246843#M1208935</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-05T22:10:41Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246844#M1208936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is going to be after the weekend. Lost the remote connection to my desktop and it is night time here already, so no one to reset the machine .&lt;/P&gt;&lt;P&gt;Hope you will be on line somewhere next week to help out&lt;/P&gt;&lt;P&gt;kind rgrds&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 22:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246844#M1208936</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-05T22:37:04Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246845#M1208937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;Query1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CRM5.contact.contact_id,&lt;/P&gt;&lt;P&gt;CRM5.contact.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As bedrijfsnaam,&lt;/P&gt;&lt;P&gt;CRM5.contact.number2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As klantnummer,&lt;/P&gt;&lt;P&gt;CRM5.udlist.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As markt,&lt;/P&gt;&lt;P&gt;CRM5.associate.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As relatiebeheerder,&lt;/P&gt;&lt;P&gt;CRM5.country.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As land,&lt;/P&gt;&lt;P&gt;CRM5.business.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As rol,&lt;/P&gt;&lt;P&gt;CRM5.category.name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As categorie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;From&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;CRM5.contact Left Join CRM5.udcontactsmall On CRM5.contact.userdef_id =CRM5.udcontactsmall.udcontactSmall_idLeft JoinCRM5.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;BR /&gt;&lt;BR /&gt; &lt;P&gt;this one must be joined to a table which has 'klantnummer' in common. Query 1 has more records than query 2. All records of Query 1 must be included.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 16:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246845#M1208937</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-11T16:52:51Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246846#M1208938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;So just to clarify, you want to store the "From" part as a variable? If you want to store the entire query, I'm not sure what the point of that would be...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246846#M1208938</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-11T20:15:41Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246847#M1208939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;correct&lt;/P&gt;&lt;P&gt;kind rgrds&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 06:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246847#M1208939</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-12T06:06:56Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246848#M1208940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hans,&lt;/P&gt;&lt;P&gt;All you need to do is to set this as a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Let vConnection = 'CRM5.contact Left Join CRM5.udcontactsmall On CRM5.contact.userdef_id =CRM5.udcontactsmall.udcontactSmall_idLeft JoinCRM5.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;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then you should be able to call this variable at any point in the script, including in a query:&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;Select&lt;BR /&gt;CRM5.contact.contact_id,&lt;BR /&gt;CRM5.contact.name As bedrijfsnaam,&lt;BR /&gt;CRM5.contact.number2 As klantnummer,&lt;BR /&gt;CRM5.udlist.name As markt,&lt;BR /&gt;CRM5.associate.name As relatiebeheerder,&lt;BR /&gt;CRM5.country.name As land,&lt;BR /&gt;CRM5.business.name As rol,&lt;BR /&gt;CRM5.category.name As categorie&lt;BR /&gt;From&lt;BR /&gt;$(vConnection);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;Also keep in mind that if you want to use "AS", you will need a preceding load, which you are currently missing.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 07:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246848#M1208940</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-12T07:34:06Z</dc:date>
    </item>
    <item>
      <title>connect queries</title>
      <link>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246849#M1208941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;Great! with this answer, I think you have helped me out with more issues I have to deal with.&lt;/P&gt;&lt;P&gt;Kind rgrds&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 07:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connect-queries/m-p/246849#M1208941</guid>
      <dc:creator>qlikhans</dc:creator>
      <dc:date>2010-03-12T07:51:23Z</dc:date>
    </item>
  </channel>
</rss>

