<?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: Writing back to database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525412#M196376</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 think Ariel reply should help you out. I just had to add to the post. When I first started with QlikView I as the question about writing back and the answer I got at first was "This is QlikView and not QlikWrite". Then they told me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 19:37:06 GMT</pubDate>
    <dc:creator>Bill_Britt</dc:creator>
    <dc:date>2013-11-20T19:37:06Z</dc:date>
    <item>
      <title>Writing back to database</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525410#M196374</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 need to insert data from qlikview into sql database.&lt;/P&gt;&lt;P&gt;Have written the below macro.&lt;/P&gt;&lt;P&gt;But it does not work.&lt;/P&gt;&lt;P&gt;What is the problem with the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;Sub Insert_Comment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; background-color: #ffffff;"&gt;Dim objADO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; background-color: #ffffff;"&gt;Dim objRs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; background-color: #ffffff;"&gt;Dim strSQL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; background-color: #ffffff;"&gt;vName=ActiveDocument.GetVariable("vName").GetContent.String&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;Set objADO = CreateObject("ADODB.Connection")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;objADO.Open "Provider=Mysql ODBC 5.1 Driver;Data Source=testsql;User ID=cNXWPZdNPDdQN;Password=cMKEGZdNPDdWO;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;strSQL="insert into EMPLOYEE values(‘"&amp;amp;vName&amp;amp;"‘)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;objADO.BeginTrans&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;objADO.Execute strSQL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;objADO.CommitTrans&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; background-color: #ffffff;"&gt;objADO.Close&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;Msgbox("Comment Updated")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #000000; font-family: Verdana; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 07:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525410#M196374</guid>
      <dc:creator />
      <dc:date>2013-07-01T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Writing back to database</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525411#M196375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Perhaps you can solve the problem looking at this post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/135858#135858"&gt;http://community.qlik.com/message/135858#135858&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 19:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525411#M196375</guid>
      <dc:creator>arieidel</dc:creator>
      <dc:date>2013-11-20T19:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Writing back to database</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525412#M196376</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 think Ariel reply should help you out. I just had to add to the post. When I first started with QlikView I as the question about writing back and the answer I got at first was "This is QlikView and not QlikWrite". Then they told me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 19:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-back-to-database/m-p/525412#M196376</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2013-11-20T19:37:06Z</dc:date>
    </item>
  </channel>
</rss>

