LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Location: Portland, Oregon
Posts: 26
Default Cut the umbilical cord? Access connection to Excel

Default open mode was shared. Well, still is shared.
ODBC driver for Access.

Now, I had the db open. When I opened the workbook a very odd window popped
up:
Please Enter MS JET OLE DB Initialization Information
and it showed the data source, user name, etc., and the last item was Open
Mode: with a drop-down box. In it was selected DB_MODE_READWRITE.

Ah-soo.

So I selected DB_MODE_SHARE_DENY_NONE. Clicked OK and the data downloaded and
everything worked like it was supposed to. Here is the new output of the
connection from the "Edit OLE DB Query" from the Edit Query... menu item:

Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data
Source=\\pdxberkompas02\Reporting$\public_reportin g\Siebel_Export.mdb;Mode=Sha
re Deny None;Extended Properties="";Jet OLEDB:System database="";Jet
OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine
Type=5;Jet OLEDB:Database Locking Mode=0;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=False;Jet OLEDB:SFP=False

The key is "Mode=Share Deny None" in the second sentance above. Previously it
was ReadWrite (or close to that) and that, I surmise, was my problem. Now
everything is fine.

Thanks Jake for helping me along :-) Now I know how to configure my other
queries for this process.

Toby

"Jake Marx" wrote in message
...
Hi Toby,

Toby Erkson wrote:
Good questions. It's been YEARS since I've used Access with any
proficiency so bear with me. I'm currently using MS Access 2002,
SP-2, on XP.
Yes, single user...how would I change this?


Tools | Options, Advanced tab...look under Default open mode.

The only modification I made to the query was change the network
drive path into a UNC path.


So you created the query using the Query Wizard, right? What did you select
as the data source? The ODBC driver for Access, or do you have a DSN set up
already?

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2010 (64 bit) External Data connection with Access Bill Carlson Excel Discussion (Misc queries) 0 June 2nd 11 12:10 AM
Connection of Excel 07 pivot table to Access Query makes DB read o Chuck W[_2_] Excel Discussion (Misc queries) 0 October 9th 09 03:45 PM
reconnecting a workbook connection from Access-Excel Steven Cheng Excel Discussion (Misc queries) 0 December 11th 08 04:46 PM
Excel data connection to Access Sharon Excel Discussion (Misc queries) 1 February 14th 08 08:33 PM
Can Excel and access update each other like a two way connection CmK Excel Discussion (Misc queries) 0 February 23rd 07 01:01 PM


All times are GMT +1. The time now is 04:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"