473,409 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

multiuser .....

12
I am making a database for around 20 users.Just wondering if i put the database file on a net work drive, will everyone be able to open the database at the same time? If that is possiable, and everyone start to enter data at the same time, Would everything being saved at the same time?
Please give me some advise. Thanks.
Feb 11 '08 #1
3 1528
mshmyob
904 Expert 512MB
You usually would NEVER lock the entire database (only when changing the Back End). In a live environment you should only lock the records.

In simple terms with Access it depends if you are doing PESSIMISTIC or OPTIMISTIC locking.

PES locking locks the record or form data upon entering the first field to be edited.
OPT locking locks record only when updating (ie: final edit)

Therefore PES locks a record while it is being edited and nobody can work on that record or do certain table wide transactions until the record is free.

OPT locking allows multiple users to modify the data at the same time but the first person who updates gets no error message while the next get an error saying certain data has been updated before they overwrite or ignore updates.



I am making a database for around 20 users.Just wondering if i put the database file on a net work drive, will everyone be able to open the database at the same time? If that is possiable, and everyone start to enter data at the same time, Would everything being saved at the same time?
Please give me some advise. Thanks.
Feb 11 '08 #2
lulu123
12
Thanks for replying...
I still don't understand, can you pls explain more.
What is back end? does that mean i have to split my databse? if so , how should i do that?
If i want use PES, how would i do that?
Thanks a lot.

You usually would NEVER lock the entire database (only when changing the Back End). In a live environment you should only lock the records.

In simple terms with Access it depends if you are doing PESSIMISTIC or OPTIMISTIC locking.

PES locking locks the record or form data upon entering the first field to be edited.
OPT locking locks record only when updating (ie: final edit)

Therefore PES locks a record while it is being edited and nobody can work on that record or do certain table wide transactions until the record is free.

OPT locking allows multiple users to modify the data at the same time but the first person who updates gets no error message while the next get an error saying certain data has been updated before they overwrite or ignore updates.
Feb 15 '08 #3
mshmyob
904 Expert 512MB
Splitting the database is correct. When you make a database for a network environment (and I believe even a stand alone) it is best to split out the database from the front end.

Depending on your version of Access there are 2 ways.

Before version 2007 do it like so:
http://support.microsoft.com/kb/304932

For version 2007 you can just select Database Tools from the ribbon and select Access Database and follow the prompts.

For locking take a look at the following
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx


Just as a side note most people use Optimistic locking so the whole record is not locked. But of course it depends on your application and how you programmed it.

Thanks for replying...
I still don't understand, can you pls explain more.
What is back end? does that mean i have to split my databse? if so , how should i do that?
If i want use PES, how would i do that?
Thanks a lot.
Feb 15 '08 #4

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

Similar topics

1
by: Howie | last post by:
Hi, i need a simple multiuser access to a file for parameters like increment numbers. The numbers are needed for order-numbers etc. They should be incremented by every programm (client) on an...
0
by: Ketchup Kerry | last post by:
I wrote a multithreaded windows service that has read/write access to an XML file using a mutex. I started wondering -- a multiuser XML file could be really useful in cases where a small,...
0
by: Caesare Gentile | last post by:
Suppose I want to write a webservice, where an XML file is loaded in XmlDocument and then a web method is built that would take in an XPath query as a parameter, and a string value. The Xpath...
1
by: John Bailo | last post by:
C# Corner ( http://csharpcorner.com ) is running my article: "Multiuser XML 'Database' Web Service" Thanks to everyone in these newsgroups who gave me help and advice when presenting the...
4
by: Pablo | last post by:
At my current job I've been tasked with maintaining a very old C++ application written largely in ANSI c++ in what I believe to be with an old DOS based Borland compiler. I'm trying to add a...
4
by: Joseph S. | last post by:
Hi everyone, Managing sessions and cookies looks simple if you go by the varied tutorials on the web. But I have a few questions about real multiuser issues which i could not get any tutorials on:...
2
by: sdastouri | last post by:
I've been looking around on the internet and have noticed there are tons of Blog programs that support multiuser login written in PHP but there are none for ASP. I am just looking for a sample...
0
by: Durai | last post by:
Hello All, How to test the "Multiuser testing" in PostgreSQL?. I used the apache bench "ab" tool for this one. The following command execute the "test.php" 50 times concurrently. $ ab -c 1...
0
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I...
0
by: raamay | last post by:
I am new to VB.Net but since i have a good experience in VB6(having developed 2 to 3 desktop applications), i find no problem coping with the new environment at this stage. Well, i am planning to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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...
0
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,...
0
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...
0
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...

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.