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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting if an Access Database needs repairing

Status
Not open for further replies.

Slarti

Programmer
Feb 5, 2003
45
GB
Hi, I support 30 or so distributed Access databases and often only find out one needs a repair when a User calls after 2 to 3 days. Is there a method I can use to detect when a dB has crashed? I can use the OpenDatabase method and loop through the dBs but I run into password problems if passwords change. Idealy I'd like to bypass the password request and look at the dB properties or something!

thanks, JH
 

Unfortunatly ... no, but what you could do to help prevent this problem is to create a program that you can run every night when people are not using these databases which will compact and repair each database and create a log for you if it runs across any problems.

Good Luck

 
vb5prgrmr comments are to be followed but .... from a management perspective, why are the paswords being changed?

I would have thought that would have been your responsibility ... for example, (and this is being very dramatic) what would happen if a distant person changed a password at the end of the working day then got hit by the space shuttle crashing to earth?

Just something to think about.

"Life is full of learning, and then there is wisdom"
 
Thanks for your replies people. I was just wondering if there was another way of doing this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top