<?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 read from an access db file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/read-from-an-access-db-file/m-p/590728#M219130</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 have a couple of ways to connect to access database. One is to use odbc and another one is to use oledb. I have two access database files inside the same folder which has qlikview report accessing these access db file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is create a connection that points to the access files in the same directory and if I move the whole folder to another machine, I don't need to create a manual connection to the database files. I want the same connection string to pickup data form the access database files because I had already create a connection inside qlikview script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please guide me what will the best way to do this. Creating an odbc connection will need me to create the same name connection on the other machine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 23:21:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-02T23:21:18Z</dc:date>
    <item>
      <title>read from an access db file</title>
      <link>https://community.qlik.com/t5/QlikView/read-from-an-access-db-file/m-p/590728#M219130</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 have a couple of ways to connect to access database. One is to use odbc and another one is to use oledb. I have two access database files inside the same folder which has qlikview report accessing these access db file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is create a connection that points to the access files in the same directory and if I move the whole folder to another machine, I don't need to create a manual connection to the database files. I want the same connection string to pickup data form the access database files because I had already create a connection inside qlikview script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please guide me what will the best way to do this. Creating an odbc connection will need me to create the same name connection on the other machine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 23:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/read-from-an-access-db-file/m-p/590728#M219130</guid>
      <dc:creator />
      <dc:date>2014-05-02T23:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: read from an access db file</title>
      <link>https://community.qlik.com/t5/QlikView/read-from-an-access-db-file/m-p/590729#M219131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use an include file to reduce maintenance when you move access database; in bold the statement you have to change when you move the db&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;in the script&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY;&lt;/P&gt;&lt;P&gt;$(Must_Include=accessconn.inc); &lt;/P&gt;&lt;P&gt;OLEDB CONNECT32 TO $(vAccessConn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;in the include (accessconn.inc)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;trace *****START INCLUDE;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set vAccessFolder='C:\Users\mgrossi\Desktop\@ QV WRK';&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;let vAccessConn = '[Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;' &amp;amp; &lt;/P&gt;&lt;P&gt;'Data Source=$(vAccessFolder)\access test.mdb;Mode=Share Deny None;Extended Properties="";' &amp;amp; &lt;/P&gt;&lt;P&gt;'Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;' &amp;amp; &lt;/P&gt;&lt;P&gt;'Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;' &amp;amp; &lt;/P&gt;&lt;P&gt;'Jet OLEDB:New Database Password=""; Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;' &amp;amp; &lt;/P&gt;&lt;P&gt;'Jet OLEDB:Don''t Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False];';&lt;/P&gt;&lt;P&gt;trace $(vAccessFolder);&lt;/P&gt;&lt;P&gt;trace $(vAccessConn);&lt;/P&gt;&lt;P&gt;trace *****END INCLUDE;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 07:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/read-from-an-access-db-file/m-p/590729#M219131</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-03T07:05:48Z</dc:date>
    </item>
  </channel>
</rss>

