Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Connections

Status
Not open for further replies.

PeteCan

Programmer
Jan 15, 2002
60
0
0
GB
With Access is there:

i) A limit to the number of database connections you can have at one time

ii) How can you kill off these connections?
 
I beleive the limit is 255 (I could be wrong). IMHO you should consider upsizing to SQL if more than 50 users are trying to connect. Although other access DBA's have sucessfully had more users that this, there are performance issues that need to be looked at overall.

To Kill a connection? The user closing the DB should be enough.. (check the LDB)

If you want to manage this remotely (i.e. close a user remotely) then you'd need to create a custom admin module.

e.g. Table with the username and a closedown flag.

Set the flag to 1 to close it down for that user.

Have a form that on a timer checks this table and invokes docmd.quit if that user has the flag set...

HTH's?

------------------------
Hit any User to continue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top