Kick users off for maintenance

  • Thread starter Thread starter E P
  • Start date Start date
E

E P

How do I kick users off of my Access database. I need to
make changes wt night but sometimes users leave the
application open on their machine and they are no longer at
work. Also, is there a way to make the application
inaccessible during certain hours?

Thanks in advance.
 
Arvin,
I've got several back ends that need periodic data updates.
I have code in the FEs that will prevent a user from
opening the app if an update is in progress. How can I
have the Back end scan for open front ends and systmically
close any it finds before starting the update process.

Thanks for the help.
Rosco
 
Rosco said:
Arvin,
I've got several back ends that need periodic data updates.
I have code in the FEs that will prevent a user from
opening the app if an update is in progress. How can I
have the Back end scan for open front ends and systmically
close any it finds before starting the update process.

If you are working from a front-end code database, check for the presence of
an LDB file on the back-end in question. When a front-end is actively
connected to data, there will be an LDB. If that exists, you can add the
record to the table and have all the connected front-ends close with the
Kick-em off database.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Arvin. I have tried using the stuff from 'kickem' but an told the dim db as
dao.database is not defined....any advice?

Thanks
Emma
 
Arvin. I have tried using the stuff from 'kickem' but an told the dim db as
dao.database is not defined....any advice?

Thanks
Emma
 
You must be using Access 2000 or 2002, and you haven't set a reference to
Microsoft DAO 3.6 Object Library.

With any code module open, select Tools | References from the menu bar and
scroll through the list until you find that reference. Check it, and you
should be fine.
 
Emma Hope said:
Arvin. I have tried using the stuff from 'kickem' but an told the dim db as
dao.database is not defined....any advice?

Thanks
Emma
 

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