<?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 Testing a connection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328167#M707792</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've been having a scout around the forum but haven't found anything yet. Hopefully someone can tell me if this is possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you test a connection within QlikView script? I am having the problem that with a multi-database solution that one of the databases may be taken offline for some reason but this will crash the reload. Is there anything I can do about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2011 11:29:09 GMT</pubDate>
    <dc:creator>chris_johnson</dc:creator>
    <dc:date>2011-12-29T11:29:09Z</dc:date>
    <item>
      <title>Testing a connection</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328167#M707792</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've been having a scout around the forum but haven't found anything yet. Hopefully someone can tell me if this is possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you test a connection within QlikView script? I am having the problem that with a multi-database solution that one of the databases may be taken offline for some reason but this will crash the reload. Is there anything I can do about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328167#M707792</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-12-29T11:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a connection</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328168#M707793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may you can catch the ScriptError:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;set ErrorMode=0;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;if ScriptError=9 then&amp;nbsp;&amp;nbsp; // or &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;ScriptError &amp;gt; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //no connect...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;end if&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;set ErrorMode=1;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ralf Becher&#xD;
&#xD;
Thanks for the hint Chris!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328168#M707793</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-12-29T11:39:15Z</dc:date>
    </item>
    <item>
      <title>Testing a connection</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328169#M707794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great! I'll have a play around with ErrorMode and ScriptError and I'm sure I'll come up with something. Can't say I've been aware of these in the past but I'll be sure to make a note of them and use them in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328169#M707794</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-12-29T11:52:31Z</dc:date>
    </item>
    <item>
      <title>Testing a connection</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328170#M707795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it working. Although looking at the help file for ScriptError it says that 1 = No Error. So I have amended the line to be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ScriptError &amp;gt; 1 then ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works now, thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 15:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-connection/m-p/328170#M707795</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-12-29T15:17:21Z</dc:date>
    </item>
  </channel>
</rss>

