473,795 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Split the DB, how do I deploy the "Front-end"?

33 New Member
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
Feb 20 '07 #1
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
Feb 20 '07 #2
kaleolani65
33 New Member
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
Feb 21 '07 #3
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
Feb 21 '07 #4
kaleolani65
33 New Member
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.
Feb 22 '07 #5
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.
Feb 23 '07 #6
kaleolani65
33 New Member
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.
Feb 23 '07 #7
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
Feb 23 '07 #8
kaleolani65
33 New Member
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???
Mar 20 '07 #9
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.
Mar 20 '07 #10

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

Similar topics

25
3748
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?
40
3048
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"...
0
1224
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.
5
7898
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
8
7600
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;
6
1360
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"
93
4015
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.
13
2933
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
12
1927
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;");
0
9673
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
10448
Oralloy
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...
0
10217
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
10167
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
9046
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
7544
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
5440
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...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.