<?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 Connection to SQLServer in macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connection-to-SQLServer-in-macro/m-p/228047#M80112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have moved data from Access to a MS SQLServer and can easily get in contact with the data in the script writing&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO SQLServer;&lt;/P&gt;&lt;P&gt;Load FIELD;&lt;/P&gt;&lt;P&gt;SQL Select SUM FROM KirKliniskeData."Score_mdb".TABLE&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;How can I set up a connection updating the table in the macro ??&lt;/P&gt;&lt;P&gt;set oconn = CreateObject("ADODB.Connection")&lt;/P&gt;&lt;P&gt;oconn.open ????&lt;/P&gt;&lt;P&gt;UpdateString = "INSERT INTO TABLE SUM VALUES (' '" &amp;amp; xSUM &amp;amp; " ' ) "&lt;/P&gt;&lt;P&gt;when I get the Connection string right, I think the Dynamic Upload command will also work as in previous access connection&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 15:18:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-29T15:18:48Z</dc:date>
    <item>
      <title>Connection to SQLServer in macro</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-to-SQLServer-in-macro/m-p/228047#M80112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have moved data from Access to a MS SQLServer and can easily get in contact with the data in the script writing&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO SQLServer;&lt;/P&gt;&lt;P&gt;Load FIELD;&lt;/P&gt;&lt;P&gt;SQL Select SUM FROM KirKliniskeData."Score_mdb".TABLE&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;How can I set up a connection updating the table in the macro ??&lt;/P&gt;&lt;P&gt;set oconn = CreateObject("ADODB.Connection")&lt;/P&gt;&lt;P&gt;oconn.open ????&lt;/P&gt;&lt;P&gt;UpdateString = "INSERT INTO TABLE SUM VALUES (' '" &amp;amp; xSUM &amp;amp; " ' ) "&lt;/P&gt;&lt;P&gt;when I get the Connection string right, I think the Dynamic Upload command will also work as in previous access connection&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 15:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-to-SQLServer-in-macro/m-p/228047#M80112</guid>
      <dc:creator />
      <dc:date>2010-04-29T15:18:48Z</dc:date>
    </item>
  </channel>
</rss>

