Solved

limit number of users on access 2003

Posted on 2008-10-16
11
334 Views
Last Modified: 2013-11-25
Does anyone know of a way to limit the number of users that can open an access database.  I want to limit the number to no more than five connections.  I cannot use security as there are various reasons.
0
Comment
Question by:ssmith94015
  • 6
  • 3
  • 2
11 Comments
 
LVL 75
ID: 22735411
I suppose you could determine the # of users by interrogating the LDB file ...

mx
0
 
LVL 22

Expert Comment

by:Kelvin Sparks
ID: 22735425
You need to track wen users login (grab their windows login) and logout and keep a count of them. If too many as part of the login script, stop them and close database.

Would need to write to a login table. Ensuring users did not bypass your scripts would be the biggest issue.


Kelvin
0
 

Author Comment

by:ssmith94015
ID: 22735455
Both interesting.  I am not sure how I would query to lbd file, but that would show how many users are on it.  As for checking the log-in and log-out, I understand that.  The reason for tihs question is I have a database that will be hit late afternoon by about 50 people all trying to input the statistics for the day.  now, I don't think they will ALL be trying to get into the database at exactly the same time (some will input the numbers in the afternoon, others wait until the next morning), but I have run into problems with too many connections and am trying to figure out a way to funnel the usage.  I am leaving Dec 1 and want to leave a stable application.  I can't split it as there is too much variablity in staffing, coming and going, machines moving/changing so the database has to stay on the network server, unsplit.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 22

Expert Comment

by:Kelvin Sparks
ID: 22735493
Have a lool at

http://www.mvps.org/access/modules/mdl0055.htm

Is probably better than login and out


Kelvin
0
 
LVL 75
ID: 22735497
I would super highly recommend that you *do* split the mdb into an FE an BE - which in itself help greatly reduce the issues associated with multiple users, even 50 or more - *depending* on the stability of the network.  Then, this becomes a non issue.  Even 5 users in an un-spit scenario can lead to issues.

0
 

Author Comment

by:ssmith94015
ID: 22735528
DatabaseMX. would I have both FE and BE on the network?
0
 
LVL 75
ID: 22735541
Also, this is an EXCELLENT free app that I have running daily to monitor 15 BE mdbs on a server.

http://www.technipixel.com/accessldb.htm

It is very cool.

mx
0
 
LVL 75
ID: 22735559
"would I have both FE and BE on the network?'

Ideally, no ... still prone to many issues.  Separate copy of FE on each workstation ...  I know what you are thinking .... logistics !!

However, see Tony's app launcher (free):

Auto Updater:  http://www.granite.ab.ca/access/autofe.htm

mx

0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 22735599
Besides new development I do daily, I also manage 15 different mdb apps, BE's on a Server, with a separate copy of the FE on each workstation.  In addition,  the network connection is a high speed, super well maintained WAN (yep) ... and these all run virtually error free.  I create a full blown app launcher built on Tony's idea - kinda his on super steroids.  So ... if you want to leave Dec 1 and have no worries ... make this happen :-)

mx
0
 

Author Comment

by:ssmith94015
ID: 22735627
DatabaseMX, I am going your route.  I have never created this type of automatica download but now just as good a time as any to learn.  I am reviewing the link (actually, all the links you both provided, thank you) and am going to test this.  I just need to be sure the IT department understands that any new staffing or machine changes will require this app to be loaded.  Of course, the first time a manager wants a report and no app - I think they will figure it out at that time!
0
 
LVL 75
ID: 22735679
"I am going your route."

You will be more than glad you did.  Of course, this is pretty much the de-facto industry standard way of doing multi-user apps.

mx
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question