Corrupt database

E

Elaine

I have a customer that insists on closing the database by closing Access instead of closing the database first. This is constantly corrupting the database. Is there a way to disable the Access Close button to force this person to exit the database first before he can close Access. The other problem I'm having is that this same customer will leave the databse open and go to lunch. The connection to the server closes and this corrupts the database. Any ideas how I can handle this? Thanks
 
L

Lee

Try splitting the database. This will create a file on the server and a file on their desktop. The desktop file will contain links to the data.
 
T

Tony Toews

Elaine said:
I have a customer that insists on closing the database by closing Access instead of closing the database first. This is constantly corrupting the database.

This does not cause Access corruption.
The other problem I'm having is that this same customer will leave the databse open and go to lunch.

HOW TO: Detect User Idle Time or Inactivity in Access 2000 (Q210297)
http://support.microsoft.com/?kbid=210297
ACC: How to Detect User Idle Time or Inactivity (Q128814)
http://support.microsoft.com/?kbid=128814

However we found that the code which runs on the timer event must be
disabled for the programmers. Otherwise weird things start happening
when you're editing code.

Also print preview would sometimes not allow the users to run a menu
item to export the report to Excel or others. So you had to right
click on the Previewed report to get some type of internal focus back
on the report so they could then export it. This was also helped by
extending the timer to five minutes.

The downside to extending the timer to five minutes was if a person
stays in the same form and at the same control for considerable parts
of the day, ie someone doing the same inquiries, the routine didn't
realize that they had actually done something. I'll be putting in
some logic sometime to reset this timer whenever they do something in
the program.
The connection to the server closes and this corrupts the database.

This also doesn't cause Access corruption.

For more information on corruption including possible causes,
determining the offending PC, retrieving your data, links, official MS
KB articles and a list of vendors who state they can fix corruption
see the Microsoft Access Corruption FAQ at
http://www.granite.ab.ca/access/corruptmdbs.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

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

Top