Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 6th, 2005, 05:29 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default Sharing A Database - Novice at work!

Hi All

I wonder whether you could provide me a little guidance...

I have created an Access 2000 booking system recently, which I need to share across a network with the potential of 4 PCs using it simultaneously.

Currently the system is spit into 2 (1) a database for the interface on each PC and (2) a database containing linked tables for the data located on the file server.

How could I make the each instance of the interface stay up to date with data and not conflict if more than one user is potentially trying to update /add into the same record?

Also is the link table manager the best route to take in a shared environment?… I have heard it is better for speed.

Your help would be appreciated.

Rich


__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
 
Old November 6th, 2005, 06:34 PM
Authorized User
 
Join Date: Sep 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I think what you are asking is a very complicated question.
First you have split the dbs correctly, with Front End containing the Form, and linked tables, and the back-end containing the actual tables.

If you are going to design a database with multi-users, you are going to bet you have multi-user issues.
The FrontEnd Database you can change the forms at any time you want, and then just update each person's computer.
Then use some code to check that the linked tables actually exist where they are supposed to, and relink them automatically (i.e. let the user do it).
You can also do it manual yourself.

You only have to link the tables once on each computer to the server.
There is no issue with a conflict on the Front-End Forms, etc.
Only conflict is with the records called up in the Back-End.

In Access 2000, Record Locking is by default set in the Tools ==> Options ==> Advanced Tab.
Also you can individually fix this in each Form.

In Multi-User dbs you have to look at wether you need Row-Level Locking, or Page-Level Locking, or Pessimistic Locking.
I would look at the Forms (really the recordsets underneath them) and whether people will be changing the same Records.
If they are just adding records, then make it so that you use Data Entry on the Forms.
Otherwise, if you have say 1000+ records, there is no use to call them up just to enter.

So, again, multi-user databases need to be very carefully designed.
Some people put the local small tables, which don't change much on the Front-End, like propery tables, etc.

Hope this helps.


Database Agreements





Similar Threads
Thread Thread Starter Forum Replies Last Post
What is AJAX novice looking for? daxianjin Ajax 0 January 13th, 2008 10:13 PM
novice to ado.net ganeshshmg ADO.NET 2 October 13th, 2006 05:33 PM
Novice User - Please Help, no-one else to ask! KarenWilliams Dreamweaver (all versions) 2 October 25th, 2005 05:29 AM
Novice needs help - connection.execute fails jm2hall Classic ASP Databases 2 June 26th, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.