Question : Access - autoback upn and repair

Hi,

Is there  a way that I can program an access db on a shared network location to auto-back up and compact/repair at

2am eastern time?

The back up will be in another subfolders. Example:

1. Original db:                     T:
2. Automated back-up?      T:/Backup

Thanks.

Answer : Access - autoback upn and repair

1. I don't know if I would trust automating operations like this.

2. All users *must* be out of the DB in order to Compact.
a. You cant reliably run code "inside" the DB and make it compact itself.

3. Having this on a Timer has it's own issues:
a. Timers use up lots of system resources
b. The timer must be on a hidden form, that is always open
c. What if the machine is in "sleep" mode?
d. What if the machine is in "Hibernate" mode?
e. What if the machine is turned off
f. What if the user is logged off?

I am sure there is a method to do this manually, but here is a utility that will manage both tasks for you:
http://www.fmsinc.com/MicrosoftAccess/Scheduler.html

;-)

JeffCoachman
Random Solutions  
 
programming4us programming4us