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

Home Posts Topics Members FAQ

best way to gain exclusive access in multi-user environment

65 New Member
hello,

i have a split ms access database with front ends distributed to several users. it is a real pain to have to wait until everyone signs off for the day to make design changes to the backend. i was wondering what techniques people have used to gain exclusive access to the backend when tables, modules, etc. need to be saved/edited. i have seen several clever methods but am not enamored with any yet.

thanks in advance for the help!
Oct 11 '07 #1
3 2659
nico5038
3,080 Recognized Expert Specialist
This will only work when all users "have left" the database.
There are ways to close the database by force, but I'm more in for the gentle way the Access Cookbook uses. There they have an internal message system to warn and ask the users on forehand to logout.
Checkout the index and samples at:
http://www.oreilly.com/catalog/accesscook2/
Select CDROM for the samples.

Can recommend the book :-)

Nic;o)
Oct 11 '07 #2
freeskier
65 New Member
This will only work when all users "have left" the database.
There are ways to close the database by force, but I'm more in for the gentle way the Access Cookbook uses. There they have an internal message system to warn and ask the users on forehand to logout.
Checkout the index and samples at:
http://www.oreilly.com/catalog/accesscook2/
Select CDROM for the samples.

Can recommend the book :-)

Nic;o)
i don't see that link on the page or that subject in the table of contents but if you say it's got what i need i'll go purchase tomorrow.
Oct 11 '07 #3
nico5038
3,080 Recognized Expert Specialist
Checkout chapter 10 the sub 08: "Track which users have a shared database open" and sub 04 "Send messages to other users without using email"
In the CDrom section you can download all chapter 10 samples and the sub indicates the name like 1004.mdb and 1008.mdb.

Having warned the users gives them the time to stop working and allows you to use the system's task manager to kill the Access excution after a certain warning time...

Nic;o)
Oct 11 '07 #4

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

Similar topics

38
3739
by: kbass | last post by:
In different articles that I have read, persons have constantly eluded to the productivity gains of Python. One person stated that Python's productivity gain was 5 to 10 times over Java in some in some cases. The strange thing that I have noticed is that there were no examples of this productivity gain (i.e., projects, programs, etc.,...). Can someone give me some real life examples of productivity gains using Python as opposed other...
16
3039
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For example dsParts.xsd and including that in the data tier. I then will create a class that looks like this Public Class CPart Inherits dsParts
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.
3
3108
by: Uwe C. Schroeder | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I have the following little stored proc: CREATE OR REPLACE FUNCTION public.ib_nextval(varchar) RETURNS varchar AS 'DECLARE
0
355
by: Bill | last post by:
I have three databases running, all with a slightly different function: 1) Shared Database where data entry is done 2) Data Inventory where information from the Shared Database is loaded to throughout the day 3) Top Level database which grabs information from the inventory for processing Now, my dilema is that I use 'OpenCurrentDatabase strDB,TRUE' in
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...
0
1518
by: bill yeager | last post by:
I have a datalist displaying parent information and a datagrid presenting child information. The data is being rendered just fine. The datagrid has template columns on it that I cannot gain access to in my Itemcommand event of the datalist. When I press a button on the datalist, that brings me into the Itemcommand event. I have access to the datagrid control, but not any column controls on the datagrid. For instance, my first column is...
0
1350
by: MSDN | last post by:
Hi can anybody help me. I am trying to access a database I have created, using ADO. The code is fine but the Jet Engine returns an exclusive Access error Error tells me that the database is alkready exclusively open by another, yet i have not opened it. Have tried altering the access permissions, but still to no avail..
12
5451
by: Elmo Mäntynen | last post by:
Is there something better than using fnctl? It seems a bit intimidating with a quick look.
1
1965
by: malini.vinod | last post by:
Hi guys, I have a vb application that uses Jet.Oledb with DAO 3.51 over an MS Access database. New enhancements being done to this application is done in C#.Net. The vb application thus hosts the .net components.Normally the vb portion uses the dao connection, and the ..net portion of the application uses ado.net oledb connections. Now the problem is that there are certain features for which the database needs to be opened in an...
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...
0
9922
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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
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...
0
5492
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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
2
3621
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.