473,776 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access warnings relating to "exclusive" mode

33 New Member
I recently started a job at a medical staffing company, a database used to keep information was built by a lady there who has very limited Access experience (even less than me)

They run Access2k3, on WinXP desktops

The files and DB reside on the corporate server.

She complains that in the mornings the first person who opens the DB locks all others out, once they logout and the others log in everyone can begin working.
Through research I figure that the first person is opening the DB in "exclusive" mode therefore locking all others out.

1. How can I fix this "lockout" problem?

Some research says that the DB data should reside on the server, while the "frontend" should reside on the individual workstations.

2. Is this something that can be done after the fact?

Another problem is the caution box...

***Microsoft office access cant save design changes or save to a new database object because another user has the file open. To save your design changes or to save to a new object, you must have exclusive access to the file.***

3. Would the implementation of a DB users and groups schema help things?
For instance, setting having one DB admin and having the rest of the others set up as users.

The research I did online and in this forum helps a little, but most of it is over my head

Thanks in advance for any help...
Feb 10 '07
35 24460
kaleolani65
33 New Member
May I ask what you checked exactly to be sure? Not that you're wrong, necessarily, just that you may have overlooked the code if you're not familiar with the VBA window.
No problem,
I opened up one of the tables, hit Alt-F11

A two paned window came up with the name of the table on the left and a large blank area on the right. The title bar said something about VB.

I made sure the table name was highlighted but did'nt double click it or anything.

And your assumption was correct I have never seen the VBA window before.

I think I should clarify something also, it is my understanding that each table is actually a standalone DB, so in essence she has a large group of unrelated DB's each with only one single table in it.

(isnt that better known as a spreadsheet?)
Feb 12 '07 #11
NeoPa
32,576 Recognized Expert Moderator MVP
I'll have to get back to this later as I'm off now.
I'll try to post some further instructions on the usage of the VBA window.
Feb 12 '07 #12
kaleolani65
33 New Member
I'll have to get back to this later as I'm off now.
I'll try to post some further instructions on the usage of the VBA window.
Thanks, any help would be greatly appreciated...
Feb 12 '07 #13
kaleolani65
33 New Member
They just had a manifestation of the problem.

A user at the Arizona office tried to Access the DB, he received an error message something to the effect of:

This file has been placed in a locked state by 'admin' at tcma-corp0013

Once I found out who 0013 was I asked them to quit the MS Access DB program, this in turn allowed the user in Arizona to log in. Once Arizona had logged in, 0013 was then able to start up the app. with no problems.
Feb 12 '07 #14
NeoPa
32,576 Recognized Expert Moderator MVP
This is exactly what I would expect if the situation described in post #5 were manifested. I have databases in the office where they run quite happily until I make a change to the design of any of the objects (Not TableDefs or QueryDefs). If I try to make a design change it will attempt to change the Open Mode to Exclusive on the fly. If it can it will, otherwise it will refuse my changes. When I am finished, I have to close and re-open the database before my colleagues can use the database.

I'll look at putting something together to explain the code better.
Feb 12 '07 #15
kaleolani65
33 New Member
They just had a manifestation of the problem.

A user at the Arizona office tried to Access the DB, he received an error message something to the effect of:

This file has been placed in a locked state by 'admin' at tcma-corp0013

Once I found out who 0013 was I asked them to quit the MS Access DB program, this in turn allowed the user in Arizona to log in. Once Arizona had logged in, 0013 was then able to start up the app. with no problems.
Sorry about the reply for an edit.

I spoked to the lady and the above mentioned lockout happened when:
1. tcma-corp0013 was using x database
2. a phoenix staff member tried to open x database
3. phoenix was subsequently locked out

So, it only happens when 1 person has a DB open and another tries to access it
at the same time, as I said the workaround is for person 1 to quit the app., person 2 opens the DB up, and then person 1 can reopen the same DB.

Correct me if i'm wrong but if a user opens a database and commences to make design changes, the DB locks it down and promotes that user to 'admin' status.

I asked her if maybe somehow users were implementing design changes without knowing, she said that the users could barely navigate to the tables.

If the DB looks like a spreadsheet and all the users do is enter name, address, etc. could they be implementing design changes?

What exactly are design changes? i saw the post earlier about macros, and such. But can anyone think of simplified example of a design change being written into the running of the DB, keeping in mind the structure of this particular DB and it's use.

This problem is limited to one DB (Arizona),
Feb 12 '07 #16
kaleolani65
33 New Member
This is exactly what I would expect if the situation described in post #5 were manifested. I have databases in the office where they run quite happily until I make a change to the design of any of the objects (Not TableDefs or QueryDefs). If I try to make a design change it will attempt to change the Open Mode to Exclusive on the fly. If it can it will, otherwise it will refuse my changes. When I am finished, I have to close and re-open the database before my colleagues can use the database.

I'll look at putting something together to explain the code better.
That sounds exactly like what's going on :-)

I am still foggy on the idea of a design change though, i'm not exactly sure what constitutes one.
Feb 12 '07 #17
NeoPa
32,576 Recognized Expert Moderator MVP
A design change is a change of the design of a Form; Report; Module; Macro.
I assumed it was in the code but that would be unusual - quite advanced.
I have a post half-prepared (I had to stop for supper) explaining how to find all the VBA code. Macros are found in the Macro window.
I can't imagine a user doing this though :confused:
BTW A database contains multiple tables but not multiple databases. I doubt multiple databases are in use (though it's possible).
I'll try to get the other post finished for you soon.
Feb 12 '07 #18
NeoPa
32,576 Recognized Expert Moderator MVP
If you go into the VBA window (Alt-F11) you will have various windows available to you.
Press Ctrl-R to select the Project Explorer window. This can show up to three main folders :
  1. Microsoft Office Access Class Objects
  2. Modules
  3. Class Modules
You need to open these three (or those that exist anyway). Each object within this structure can be selected and, using F7, the code opened. Let us know if you find any code more than the defaults :
Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2. Option Explicit
Feb 12 '07 #19
kaleolani65
33 New Member
If you go into the VBA window (Alt-F11) you will have various windows available to you.
Press Ctrl-R to select the Project Explorer window. This can show up to three main folders :
  1. Microsoft Office Access Class Objects
  2. Modules
  3. Class Modules
You need to open these three (or those that exist anyway). Each object within this structure can be selected and, using F7, the code opened. Let us know if you find any code more than the defaults :
Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2. Option Explicit
I will run the check tomorrow morning as soon as I get to work ~8:00a PST
Thanks for the help so far...
Feb 13 '07 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2973
by: Kent P. Iler | last post by:
Hi, I have an application that watches a directory using FileSystemWatcher. When a specific type of files comes over, I want to parse it and then move it. However, these files can be somewhat large, and the FTP process isn't complete when I try to access the files. In those instances, an exception is thrown when I try to access the file.
2
5774
by: Dave Reid | last post by:
Hi everyone... I'm trying to open a text file in exclusive mode (meaning I want to lock out any other processes from accessing the file while I'm working with it). Here's my code: ifstream fs_infile("field_summary.dat", filebuf::sh_none)
0
1989
by: Wayne | last post by:
Can someone please help with this problem. When referring to opening a database in Exclusive mode the Access 2003 help says: "Under Default open mode, do one of the following: If you want others to be able to open the Microsoft Access database at the same time you have it open, click Shared. If you want sole access to the Access database when you have it open, click Exclusive." >From my experience and from what I have read on the...
10
20890
by: Kobu | last post by:
My question is about the use and meaning of the terms "declaration" and "definition" as it pertains to the C language. I've read sources that mix the two up when talking about such things as setting aside storage for an object, defining/declaring a struct, parts of a function, referencing an external variable in another module. sourcefile1.c ============== extern long globalfoo; /* declaration? */
7
1945
by: Dave Benjamin | last post by:
There's been a lot of discussion lately regarding Ruby and the notion of a "humane" interface to objects like arrays and maps, as opposed to "minimalist" ones. I believe the article that started the debates was this one by Martin Fowler: http://www.developertesting.com/archives/month200512/20051218-HumaneInterfaceOfMinimalInterface.html And this one was posted in response by Bruce Eckel: ...
9
2548
by: Jacek Dziedzic | last post by:
Hi! I often find that my programs need to store information on "current mode of something" with two or at most several mutually exclusive "modes" to choose from, e.g. - datafile: is it in a) read-only mode or b) write-only mode, - a function picking points a) above, b) below or c) contained on a plane in 3D, etc.
17
3923
by: teddysnips | last post by:
One of my clients has asked me to make a change to one of their Access applications. The application is a Front End/Back End standard app. I didn't develop it, but looking at it tells me that it was done entirely using the Wizards. There is no log-in procedure. They want to amend it so that only one person can be logged in at any one time. So, if Joe Bloggs tries to open the application, and Fred Jones has already connected, Joe...
94
30352
by: Samuel R. Neff | last post by:
When is it appropriate to use "volatile" keyword? The docs simply state: " The volatile modifier is usually used for a field that is accessed by multiple threads without using the lock Statement (C# Reference) statement to serialize access. " But when is it better to use "volatile" instead of "lock" ?
3
2206
by: stefan.albert | last post by:
Hi folks, we have a little discussion about lock escalation... What is better for performance: To have an escalation "early" (smaller locklist) or aviod the escalation with a big lock list? We don't care about concurrency - because the changes have to be done, other SQL waiting for this is OK. Anyhow - I think: A lock table in exclusive mode would be the the most
0
9627
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9462
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10060
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8951
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7469
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6721
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5367
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4030
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.