<?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: Macro to connect to ODBC datasource in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783615#M665400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, thanks for your reply. Unfortunately, i do not think that those codes are meant to be run with Direct Discovery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have already tweaked the time-out settings but the database still fails to connect. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 09:02:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-15T09:02:57Z</dc:date>
    <item>
      <title>Macro to connect to ODBC datasource</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783613#M665398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a macro to connect to ODBC datasource automatically after fixed time intervals. Can anyone help with that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Qlikview application is connected to a PostgreSQL through ODBC connector. The tabs and objects work fine most of the time but sometimes after some standby period (no user using the app) the connection gets broken somehow and it starts showing "Database Connection failed". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, the only way i have figured out to reconnect is to close the application and open it again (or re-publish it again). A macro code to re-connect again will help in such a case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 07:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783613#M665398</guid>
      <dc:creator />
      <dc:date>2015-01-14T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to connect to ODBC datasource</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783614#M665399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Look through these - &lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/forums/searchpage/tab/message?q=macro+write+odbc"&gt;http://community.qlik.com/search.jspa?q=macro+write+odbc&lt;/A&gt;&lt;SPAN&gt; - various posting maybe they give you a hint how to (re)connect yout database. But it could be that it don't work with direct discovery. Maybe it's better to go to your database/odbc-driver and change the timeout-settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783614#M665399</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-01-14T09:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to connect to ODBC datasource</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783615#M665400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus, thanks for your reply. Unfortunately, i do not think that those codes are meant to be run with Direct Discovery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have already tweaked the time-out settings but the database still fails to connect. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 09:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-connect-to-ODBC-datasource/m-p/783615#M665400</guid>
      <dc:creator />
      <dc:date>2015-01-15T09:02:57Z</dc:date>
    </item>
  </channel>
</rss>

