<?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 Updating data in an oracle database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204907#M61623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my experience, when the costumer needs to do something in the BD enviroment, and the costumer has Publisher, i suggest start using DbCommand supporting task to do that kind of things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 16:03:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-16T16:03:19Z</dc:date>
    <item>
      <title>Updating data in an oracle database</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204906#M61622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update(write) data back to our oracle database through a macro in qlikview. ActiveX is highly regulated in our enviroment and the ADO approach cannot be used. This is the code I am trying to use is&lt;/P&gt;&lt;P&gt;sub connectDB&lt;BR /&gt; Dim db&lt;BR /&gt; Dim ws,rs,strConnection&lt;BR /&gt; Set ws=DBEngine.Workspaces(0)&lt;BR /&gt; set strConnection="ODBC;DATABASE=&lt;EM&gt;Databasename&lt;/EM&gt; ;UID=&lt;EM&gt;UserId&lt;/EM&gt; ;PWD=&lt;EM&gt;Password&lt;/EM&gt; ;DSN=&lt;EM&gt;DSNName&lt;/EM&gt; "&lt;BR /&gt; set db=OpenDatabase("&lt;EM&gt;DSNName&lt;/EM&gt; ",False,False,strConnection)&lt;BR /&gt; 'strSQLQuery="SELECT * FROM &lt;EM&gt;tablename&lt;/EM&gt; where fieldname=&lt;EM&gt;filter&lt;/EM&gt; "&lt;BR /&gt; 'set rs=db.openrecordset(strSQLQuery)&lt;BR /&gt; 'str=rs("NAME")&lt;BR /&gt; 'ActiveDocument.GetVariable("vdeleteAC").setContent str,false&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Using DAO to make the connection throws the following errors..&lt;/P&gt;&lt;P&gt;1. Type mistmatch at the &lt;EM&gt;opendatabase&lt;/EM&gt; line in the code.&lt;/P&gt;&lt;P&gt;2. Object required - 'DBEngine' at the &lt;EM&gt;createworkspace&lt;/EM&gt; line in the code.&lt;/P&gt;&lt;P&gt;I don't know much about VBScript and would appreciate any suggestion to help connect to the database.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204906#M61622</guid>
      <dc:creator />
      <dc:date>2010-09-16T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Updating data in an oracle database</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204907#M61623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my experience, when the costumer needs to do something in the BD enviroment, and the costumer has Publisher, i suggest start using DbCommand supporting task to do that kind of things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 16:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204907#M61623</guid>
      <dc:creator />
      <dc:date>2010-09-16T16:03:19Z</dc:date>
    </item>
    <item>
      <title>Updating data in an oracle database</title>
      <link>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204908#M61624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fabian for your prompt response. I'll look into the Publisher and DBCommand suggestion to solve my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 13:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Updating-data-in-an-oracle-database/m-p/204908#M61624</guid>
      <dc:creator />
      <dc:date>2010-09-17T13:48:46Z</dc:date>
    </item>
  </channel>
</rss>

