<?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: Problem with Qlikview and MS Access 2007 database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406868#M699424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We may be on to something here. I created a dummy QVW attached to a dummy Office 2007 Access db. When I hit reload to load the script for the first time, it hung Qlikview. Killing Qlikview and restarting it allowed me to load the dummy table in. However, upon closing Qlikview and reloading the Access DB I want to modify, it still hangs Access. When Access crashes it does leave its lock file behind, in the same folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2012 19:37:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-05T19:37:41Z</dc:date>
    <item>
      <title>Problem with Qlikview and MS Access 2007 database</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406864#M699420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, world!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to interface a Microsoft Access 2007 (.accdb) database with Qlikview v11 SR2. The database loads with no issues, but when I close Qlikview and attempt to modify any of the tables, Access locks up entirely. I have tried opening the Access DB in exclusive mode, I have tried restarting the computer then loading Access first, both to no avail. I &lt;STRONG&gt;can &lt;/STRONG&gt;open the database in read-only mode, but this does not help me in modifying the database. I tried creating a blank database, as well, then importing the tables in to the new database, which also failed. I also tried with and without the disconnect statement and again, no change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The added part (below the stock settings) of my loading script is as follows. Note that I transcribed this from the separate, standalone computer on which Qlikview is installed. Also note that I had the mode set to the default of "Share Deny None" and had the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;OLEDB CONNECT TO&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=C:\users\user1\desktop\databasename.accdb;Mode=ReadWrite;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password=""; Jet OLEDB:Engine Type=6;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops:2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=True;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #006400;"&gt;//-------- Start Multiple Select Statements --------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;SELECT *&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;FROM Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;SELECT *&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;FROM Table2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;SELECT *&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;FROM Table3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;SELECT *&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;FROM Table4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #006400;"&gt;//-------- End Multiple Select Statements --------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #006400;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DisConnect;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #006400;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am at a complete loss. Does anyone have any suggestions for me? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 21:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406864#M699420</guid>
      <dc:creator />
      <dc:date>2012-12-04T21:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Qlikview and MS Access 2007 database</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406865#M699421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;STRONG&gt;Mode=Read&lt;/STRONG&gt; instead of &lt;STRONG&gt;Mode= ReadWrite&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 15:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406865#M699421</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-12-05T15:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Qlikview and MS Access 2007 database</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406866#M699422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi flipside,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I hadn't tried it, but I just did and it did not change the results. Qlikview still accesses the database without issue but the file continues to hang Access upon opening any of the tables - I should emphasize that Access opens the &lt;EM&gt;database&lt;/EM&gt;, per se, without any issue. It hangs only upon trying to access a table, unless it is opened in Access in read-only mode. That seems to indicate some sort of locking issue but I can't see any reason why that would be the case once QV has closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 15:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406866#M699422</guid>
      <dc:creator />
      <dc:date>2012-12-05T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Qlikview and MS Access 2007 database</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406867#M699423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I've just tried this at home and cannot replicate it BUT in QV10 SR4 I'm not sure the &lt;STRONG&gt;disconnect &lt;/STRONG&gt;actually does disconnect the connection - I can still select data from a table in the connection (both OLEDB and ODBC) AFTER I've used the &lt;STRONG&gt;disconnect &lt;/STRONG&gt;command.&amp;nbsp; Have had a quick search on here but cannot see any logged bugs relating to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if instead of disconnect, you try a new connection to another datasource (or maybe even the same one) to see if it forces a disconnect that way.&amp;nbsp; This might not be the reason, but it's worth a try.&amp;nbsp; Even so, all connections should drop automatically at the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, are you seeing the .laccdb file in the same folder as the .accdb file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 19:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406867#M699423</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-12-05T19:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Qlikview and MS Access 2007 database</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406868#M699424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We may be on to something here. I created a dummy QVW attached to a dummy Office 2007 Access db. When I hit reload to load the script for the first time, it hung Qlikview. Killing Qlikview and restarting it allowed me to load the dummy table in. However, upon closing Qlikview and reloading the Access DB I want to modify, it still hangs Access. When Access crashes it does leave its lock file behind, in the same folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 19:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Qlikview-and-MS-Access-2007-database/m-p/406868#M699424</guid>
      <dc:creator />
      <dc:date>2012-12-05T19:37:41Z</dc:date>
    </item>
  </channel>
</rss>

