<?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: Connecting to multiple OLE DB servers with a loop. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497120#M692699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an example for different databases in multiple subfolders, but the logic should also worked in your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each varPath in 'folder1', 'folder2'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODBC CONNECT32 TO [Microsoft Access-Datenbank;DBQ=D:\$(varPath)\Datenbank.mdb];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCONNECT;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 14:34:56 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2013-08-15T14:34:56Z</dc:date>
    <item>
      <title>Connecting to multiple OLE DB servers with a loop.</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497119#M692698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run the same load script on multiple database servers without having several OLE connection strings with the same load statement copied / pasted.&amp;nbsp; This of course makes changes to the load script difficult to manage.&amp;nbsp; I would like to store the server names in a external file (excel?), and then execute the load using a server name variable in the connection string with a loop for each server name listed.&amp;nbsp; To keep the results seperate for each server, I will store the results by appending the server name variable to the file qvd file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to pull off the loop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 13:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497119#M692698</guid>
      <dc:creator />
      <dc:date>2013-08-15T13:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple OLE DB servers with a loop.</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497120#M692699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an example for different databases in multiple subfolders, but the logic should also worked in your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each varPath in 'folder1', 'folder2'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODBC CONNECT32 TO [Microsoft Access-Datenbank;DBQ=D:\$(varPath)\Datenbank.mdb];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCONNECT;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 14:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497120#M692699</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-08-15T14:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple OLE DB servers with a loop.</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497121#M692700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working using something similar.&amp;nbsp; Thanks Marcus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 17:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/497121#M692700</guid>
      <dc:creator />
      <dc:date>2013-08-15T17:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple OLE DB servers with a loop.</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/1625616#M692701</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;can you tell me your's solution?&lt;/P&gt;&lt;P&gt;i have something similar and i can't find a way&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 08:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-multiple-OLE-DB-servers-with-a-loop/m-p/1625616#M692701</guid>
      <dc:creator>cristian</dc:creator>
      <dc:date>2019-09-19T08:37:52Z</dc:date>
    </item>
  </channel>
</rss>

