<?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: databse connection in macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529850#M1127648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit macro dialog box opens every time I try running the macro by clicking on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Dec 2013 11:28:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-27T11:28:02Z</dc:date>
    <item>
      <title>databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529843#M1127641</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 connect to oracle database in macro. Can anybody please tell me how do i do this??&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>Fri, 27 Dec 2013 10:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529843#M1127641</guid>
      <dc:creator />
      <dc:date>2013-12-27T10:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529844#M1127642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kavita, &lt;/P&gt;&lt;P&gt;try to using vb script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Dim strCon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;strCon = "Driver={Oracle in Oracle in Orahome10g}; " &amp;amp; _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;"CONNECTSTRING=(DESCRIPTION=" &amp;amp; _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;"(ADDRESS=(PROTOCOL=TCP)" &amp;amp; _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;"(HOST=SERVERNAME)(PORT=1521))" &amp;amp; _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;"(CONNECT_DATA=(SERVICE_NAME=TEST))); uid=username;pwd=password;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Dim oCon: Set oCon = WScript.CreateObject("ADODB.Connection")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Dim oRs: Set oRs = WScript.CreateObject("ADODB.Recordset")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;oCon.Open strCon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Set oRs = oCon.Execute("SELECT 1 from dual")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;While Not oRs.EOF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;WSCript.Echo oRs.Fields(0).Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;oRs.MoveNext&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Wend&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;oCon.Close&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Set oRs = Nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Set oCon = Nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 10:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529844#M1127642</guid>
      <dc:creator />
      <dc:date>2013-12-27T10:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529845#M1127643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dushan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply..&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Oracle in Oracle in Orahome10g"--&amp;gt; is this driver name ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;And where do you give the IP address of database server?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 10:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529845#M1127643</guid>
      <dc:creator />
      <dc:date>2013-12-27T10:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529846#M1127644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes it is and &lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;HOST=SERVERNAME&lt;/SPAN&gt;. there you can Place your Server IP. &lt;/P&gt;&lt;P&gt;Best rgrds,&lt;/P&gt;&lt;P&gt;Dushan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529846#M1127644</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529847#M1127645</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;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt; replace DRIVER, SERVERNAME, SERVICE_NAME, username and password. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Best rgrds,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif; font-size: 12px; background-color: #f5f9fd;"&gt;Dushan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529847#M1127645</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529848#M1127646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dushan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written following statement but there is some problem in what I have written can you please help me to correct it as I'm new to this.&lt;/P&gt;&lt;P&gt;strCon = "Driver={Oracle in OraDb 10g_home1}; " &amp;amp; "CONNECTSTRING=(DESCRIPTION=" &amp;amp; "(ADDRESS=(PROTOCOL=TCP)" &amp;amp; "(HOST=127.0.0.1)(PORT=1521))" &amp;amp; "(CONNECT_DATA=(SERVICE_NAME=DB11G))); uid=usr;pwd=pwd;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529848#M1127646</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529849#M1127647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;what s the error u are having?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529849#M1127647</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529850#M1127648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit macro dialog box opens every time I try running the macro by clicking on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529850#M1127648</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529851#M1127649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;select allow system access and click ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529851#M1127649</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: databse connection in macro</title>
      <link>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529852#M1127650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have done it. Still its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 11:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/databse-connection-in-macro/m-p/529852#M1127650</guid>
      <dc:creator />
      <dc:date>2013-12-27T11:53:20Z</dc:date>
    </item>
  </channel>
</rss>

