Locking a Database

  • Thread starter Thread starter mattc66 via AccessMonster.com
  • Start date Start date
M

mattc66 via AccessMonster.com

I have a database that is on our network. I would like to set it up to only
allow one user at a time into the database. What is the best way to do that?

Thanks
Matt
 
You could check for the existance of the .ldb file on the BackEnd and exit.
Access can handle multiple users updating the BackEnd at the same time so why
restrict the system?
 
This database downloads data from an external ERP system. If 2 users do the
download at the same time the download gets messed up.
 
Understood. Couldn't you set up a table that would signal that the download
is in progress and disable the download for anyone else instead of making a
single user system?
This database downloads data from an external ERP system. If 2 users do the
download at the same time the download gets messed up.
You could check for the existance of the .ldb file on the BackEnd and exit.
Access can handle multiple users updating the BackEnd at the same time so why
[quoted text clipped - 5 lines]
 
That sounds like a good idea. How would I set that up?
Understood. Couldn't you set up a table that would signal that the download
is in progress and disable the download for anyone else instead of making a
single user system?
This database downloads data from an external ERP system. If 2 users do the
download at the same time the download gets messed up.
[quoted text clipped - 4 lines]
 
I have a tblSystem that I open and it contains flags like this or other
fields that I might need for the system. One field is the number of seconds
before the system shuts down so I can kick others out of the system for
maintenance. I have a hidden form whos timer event checks every 10 seconds
to see of the value is non zero. My SystemTable only has one record but it
is very handy.
That sounds like a good idea. How would I set that up?
Understood. Couldn't you set up a table that would signal that the download
is in progress and disable the download for anyone else instead of making a
[quoted text clipped - 5 lines]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top