I have been having an ongoing problem with a DB at work concerning people getting "locked out". Access warnings relating to "exclusive" mode
The research I have done and the replies received suggest I split the DB (front-end/back-end).
A working copy of the DB was split and I can see how the DB (back-end) is being updated.
Being such an Access noob (who did not actually build the DB)
I don't know what people mean exactly when they say to give each person a copy of the forms on their desktops. Actually, I know what they mean I just don't know how to do it.
Question, if each person has a copy of the DB on their workstations does the back-end only get updated when they hit save?
Is the back-end only really current when all people have logged out of that DB?
Is there any way for someone to get real time views of the front-end (at a particular workstation) from the back-end?
Thanks for the help
Chuck
28 10257 MMcCarthy 14,534
Recognized Expert Moderator MVP
Chuck
Everyone gets a copy of the frontend only. There should only be one backend on a server which all users have access to. The data should be updated in realtime. In the backend go to Tools - options - Advanced and make sure that the Default Open Mode is set to Shared and Default Record Locking is set to Edited record. This means that users won't be able to edit the same record at the same time as this could cause a problem.
Mary
Chuck
Everyone gets a copy of the frontend only. There should only be one backend on a server which all users have access to. The data should be updated in realtime. In the backend go to Tools - options - Advanced and make sure that the Default Open Mode is set to Shared and Default Record Locking is set to Edited record. This means that users won't be able to edit the same record at the same time as this could cause a problem.
Mary
Thanks for the response Mary, I will definitely change the default open mode
1.If the DB lies on shared drive what exactly do I give to them (front-end wise)
2.When you say everyone gets a copy does that mean I have to put a local copy onto their actual workstations?
3.If I put a local copy onto their workstations how does the DB know to update to the back-end.
Bear with me if I am asking noob questions, I don't know much about access and having just started here I know even less about their file system structure.
I do know that they are running a distributed file system, the forms contained within the DB are accessed through a shared drive on the server.
This whole problem arose because people are getting "locked out" of the DB, in the mornings if the first person opens the DB then noone else can until he/she logs out. Also they are getting all kinds of "exclusive" "locked by computerXX" errors.
Also, by the way it looks the DB is actually a collection of forms which they enter info into, but I can't really see the difference between the DB and a spreadsheet, they don't run queries, there is no code associated with any of the forms, and the forms are'nt even linked???
Anyways, enough ranting. Any help on those above questions would be greatly appreciated...
Chuck
MMcCarthy 14,534
Recognized Expert Moderator MVP
Sorry for the delay in replying, I was tied up all day in Admin duties. Too many hats. ;)
Thanks for the response Mary, I will definitely change the default open mode
1.If the DB lies on shared drive what exactly do I give to them (front-end wise)
Think of it this way. You start out with one database foo.mdb. Back it up before doing anything. Now copy all the tables into a new database and call it foo_BE.mdb and save it in its final resting place on the shared drive. Then delete all the tables from foo.mdb and go to file - get external data - Link files and a file open window will open. Select the foo_BE.mdb file from it's position on the shared drive and a wizard will open. This will allow you to select all the tables and link them into foo.mdb. You now have a backend and a frontend. Now backup the frontend file foo.mdb (this is very important as the file we are about to create can't be edited).
Now open foo.mdb and make sure all your startup options are set to how you want them. Be sure to Uncheck the Show database window option.
Go to Tools - options and click on the advanced tab. Set the Default open mode to shared and the Default Record locking to edited record. This will resolve the errors you are describing.
Once you are happy go to Tools - Database Utilities - make an mde. This will create a foo.mde file which will be uneditable. This is what you issue to users.
2.When you say everyone gets a copy does that mean I have to put a local copy onto their actual workstations?
You don't have to you can just have one copy on the shared drive.
3.If I put a local copy onto their workstations how does the DB know to update to the back-end.
Because you created a link to the backend on a specific path so as long as foo_BE.mdb doesn't move the frontend will be able to find it.
Also, by the way it looks the DB is actually a collection of forms which they enter info into, but I can't really see the difference between the DB and a spreadsheet, they don't run queries, there is no code associated with any of the forms, and the forms are'nt even linked???
LOL - honestly can't comment without seeing it but I've seen some interesting designs in my time.
Mary
Sorry for the delay in replying, I was tied up all day in Admin duties. Too many hats. ;)
Think of it this way. You start out with one database foo.mdb. Back it up before doing anything. Now copy all the tables into a new database and call it foo_BE.mdb and save it in its final resting place on the shared drive. Then delete all the tables from foo.mdb and go to file - get external data - Link files and a file open window will open. Select the foo_BE.mdb file from it's position on the shared drive and a wizard will open. This will allow you to select all the tables and link them into foo.mdb. You now have a backend and a frontend. Now backup the frontend file foo.mdb (this is very important as the file we are about to create can't be edited).
Now open foo.mdb and make sure all your startup options are set to how you want them. Be sure to Uncheck the Show database window option.
Go to Tools - options and click on the advanced tab. Set the Default open mode to shared and the Default Record locking to edited record. This will resolve the errors you are describing.
Once you are happy go to Tools - Database Utilities - make an mde. This will create a foo.mde file which will be uneditable. This is what you issue to users.
You don't have to you can just have one copy on the shared drive.
Because you created a link to the backend on a specific path so as long as foo_BE.mdb doesn't move the frontend will be able to find it.
LOL - honestly can't comment without seeing it but I've seen some interesting designs in my time.
Mary
Mary,
I think I understand what you are saying but in this case does'nt the front-end have to be editable so that the users can input info into the DB?
The DB is edited by a few users here and accessed by others around the southwest only for viewing.
I could make the uneditable version for those users who only need read access to the forms, but how do I set up the editable side.
MMcCarthy 14,534
Recognized Expert Moderator MVP
Mary,
I think I understand what you are saying but in this case does'nt the front-end have to be editable so that the users can input info into the DB?
The DB is edited by a few users here and accessed by others around the southwest only for viewing.
I could make the uneditable version for those users who only need read access to the forms, but how do I set up the editable side.
When I say the database will be uneditable I mean the structure of forms, reports, etc. can't be changed. It would affect users ability to use the forms to enter data, etc.
When I say the database will be uneditable I mean the structure of forms, reports, etc. can't be changed. It would affect users ability to use the forms to enter data, etc.
I'm assuming you meant "It would'nt affect users abilities to enter data" in your reply.
If that's the case I will get to work on it like you instructed and cross my fingers.
MMcCarthy 14,534
Recognized Expert Moderator MVP
I'm assuming you meant "It would'nt affect users abilities to enter data" in your reply.
If that's the case I will get to work on it like you instructed and cross my fingers.
LOL - Sorry about that. You are right of course. I'll have to start reading my own posts.
Mary
Sorry for the delay in replying, I was tied up all day in Admin duties. Too many hats. ;)
Think of it this way. You start out with one database foo.mdb. Back it up before doing anything. Now copy all the tables into a new database and call it foo_BE.mdb and save it in its final resting place on the shared drive. Then delete all the tables from foo.mdb and go to file - get external data - Link files and a file open window will open. Select the foo_BE.mdb file from it's position on the shared drive and a wizard will open. This will allow you to select all the tables and link them into foo.mdb. You now have a backend and a frontend. Now backup the frontend file foo.mdb (this is very important as the file we are about to create can't be edited).
Now open foo.mdb and make sure all your startup options are set to how you want them. Be sure to Uncheck the Show database window option.
Go to Tools - options and click on the advanced tab. Set the Default open mode to shared and the Default Record locking to edited record. This will resolve the errors you are describing.
Once you are happy go to Tools - Database Utilities - make an mde. This will create a foo.mde file which will be uneditable. This is what you issue to users.
You don't have to you can just have one copy on the shared drive.
Because you created a link to the backend on a specific path so as long as foo_BE.mdb doesn't move the frontend will be able to find it.
LOL - honestly can't comment without seeing it but I've seen some interesting designs in my time.
Mary
I made an .mde and set the default open settings to shared.
when I try to open it up on another computer it opens read only and I cannot add any data to it?
Any ideas???
MMcCarthy 14,534
Recognized Expert Moderator MVP
I made an .mde and set the default open settings to shared.
when I try to open it up on another computer it opens read only and I cannot add any data to it?
Any ideas???
Set the open mode of the backend to shared.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: delerious |
last post by:
I see some code examples like this:
<DIV onmouseover="this.style.background='blue'">
and other code examples like this:
<DIV onmouseover="javascript:this.style.background='blue'">
Which way is more proper? Or are both ways perfectly fine? Are there any
specifications that discuss when "javascript:" should be put in front of code?
|
by: Steve Juranich |
last post by:
I know that this topic has the potential for blowing up in my face,
but I can't help asking. I've been using Python since 1.5.1, so I'm
not what you'd call a "n00b". I dutifully evangelize on the goodness
of Python whenever I talk with fellow developers, but I always hit a
snag when it comes to discussing the finer points of the execution
model (specifically, exceptions).
Without fail, when I start talking with some of the "old-timers"...
|
by: Douglas Collie |
last post by:
Is there a bug using an untyped memory based data set?
I have a form with a tab control, on one tab is a data
grid linked to a dataset which I add data to at regular
intervals.
I have a second top level window opened by the app.
The app opens with Form1 showing a tab without the data
grid.
I open the second Form and everything is ok.
|
by: Rey |
last post by:
Howdy all.
Was wondering if there is any resolution for err 3734:
"The database has been placed in a state by user X on machine Y that
prevents it from being opened or locked."
I've spent time reearching err and found no real solution but then
maybe I stopped reading posts to soon 8-)
Believe this occurs after either an err has occurred and/or I've
|
by: vijay |
last post by:
Hello,
As the subject suggests, I need to print the string in the reverse
order. I made the following program:
# include<stdio.h>
struct llnode
{
char *info;
| |
by: Jake Barnes |
last post by:
This function has always worked for me just fine:
function nl2br_js(myString){
// 02-18-06 - this function imitates the PHP command nl2br, which
finds newlines in a string
// and replaces them with newlines plus HTML BR tags. Is the easiest
way to create the
// appearance of paragraphs when people are creating web pages by
typing text into a form.
var regXString = "\\n"
|
by: jacob navia |
last post by:
In this group there is a bunch of people that call themselves 'regulars'
that insist in something called "portability".
Portability for them means the least common denominator.
Write your code so that it will compile in all old and broken
compilers, preferably in such a fashion that it can be moved with no
effort from the embedded system in the coffe machine to the 64 bit
processor in your desktop.
|
by: marathoner |
last post by:
I would like to read the following entries of mixed data types from a ascii
text file using C#. This can be easily performed in C using fscanf. Is
there an equivalent function in C#?
1 2 1201 1 -0.417597000000000D+06 0.129600000000000D+06
0.0 0.753000000000000D+03 0.198800000000000D+04
Marathoner
|
by: kevineller794 |
last post by:
I want to make a split string function, but it's getting complicated.
What I want to do is make a function with a String, BeginStr and an
EndStr variable, and I want it to return it in a char array.
For example:
char teststr;
strcpy(teststr, "test:blah;");
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |