A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can't open data if someone has the database open?



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2004, 05:04 PM
MJV
external usenet poster
 
Posts: n/a
Default Can't open data if someone has the database open?

I have a database that has a linked .txt file in it. I
have it pulling this text to populate the data fields in
the database. This file is located on a server with the
rights open to all. I am using this text file to get
information from a mainframe. Now if someone has this
database running it locks the text file and everyone gets
this error. "The Microsoft Jet database engine cannot
open the file '~sq_fMiainframe', It is already open
exclusively by another user, or you need permission to
view its data.
I have checked rights and all have sheared right to open
it. So, am I missing something?
Anyone have any thoughts?

  #2  
Old May 29th, 2004, 08:48 AM
John Nurick
external usenet poster
 
Posts: n/a
Default Can't open data if someone has the database open?

As far as I know this is normal, though inconvenient. Access locks the
file when it opens the linked table to ensure that no other process can
modify it and thereby invalidate the data that Access is displaying.

On Fri, 28 May 2004 09:04:12 -0700, "MJV"
wrote:

I have a database that has a linked .txt file in it. I
have it pulling this text to populate the data fields in
the database. This file is located on a server with the
rights open to all. I am using this text file to get
information from a mainframe. Now if someone has this
database running it locks the text file and everyone gets
this error. "The Microsoft Jet database engine cannot
open the file '~sq_fMiainframe', It is already open
exclusively by another user, or you need permission to
view its data.
I have checked rights and all have sheared right to open
it. So, am I missing something?
Anyone have any thoughts?


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
  #3  
Old May 29th, 2004, 12:50 PM
Stephen Glynn
external usenet poster
 
Posts: n/a
Default Can't open data if someone has the database open?

MJV wrote:

I have a database that has a linked .txt file in it. I
have it pulling this text to populate the data fields in
the database. This file is located on a server with the
rights open to all. I am using this text file to get
information from a mainframe. Now if someone has this
database running it locks the text file and everyone gets
this error. "The Microsoft Jet database engine cannot
open the file '~sq_fMiainframe', It is already open
exclusively by another user, or you need permission to
view its data.
I have checked rights and all have sheared right to open
it. So, am I missing something?
Anyone have any thoughts?


According to Access 2000 "Help", "When you edit data in a linked SQL
database table by using ODBC, Microsoft Access doesn't lock records;
instead, the rules of that SQL database govern locking. In this
instance, regardless of the record-locking setting you choose for your
database, Microsoft Access always acts as though the No Locks setting
has been selected."

That implies to me that you should be looking not at the settings in
Access but at those on the main database. The main database shouldn't
lock you out if you just want to retrieve or edit data; normally the
only time a whole table locks for more than the very short time it takes
to run an update query is when someone's doing database maintenance on it.

Steve

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.