Cronk
Registered User.
- Local time
- Tomorrow, 05:09
- Joined
- Jul 4, 2013
- Messages
- 2,799
Second time I’ve posed a question on this site.
Firstly, by way of background, I was called to a site yesterday, a crisis that the “database had crashed”. The application is used by a local government authority to issue permits for events being held on public land. After first making a copy of the BE, it turned out that one of the key tables (tblPermits) could not be opened (“format could not be read…”).
Compact and Repair led to the table being removed by Access. After repeating this and getting the same result, I got straight on to the IT support people and had a backup copy from the previous night within 10 minutes. All up and running in half an hour.
Now the issue. Users run the application from FEs on C drives of laptops in networked docking stations and can take the laptops home for working remotely. I believe this corruption was caused by the manager of the unit who on the previous day, had not shut down the laptop but merely closed the screen to put it in sleep mode, before taking it home and then waking up to continue with a Word document which had no problem; not so the database.
When I pointed out the bleeding obvious to the manager, he fully accepted the situation but wants me to set up something to cope with this same event in the future, because he says in the rush at the end of the day, he’s likely to do the same again.
I can’t see any way from within the Access application that could trigger a close of the database. Maybe there is a Windows API that could be used. I’ve done some cursory searching but before going further, I’ll ask if anyone has any suggestions/advice.
Firstly, by way of background, I was called to a site yesterday, a crisis that the “database had crashed”. The application is used by a local government authority to issue permits for events being held on public land. After first making a copy of the BE, it turned out that one of the key tables (tblPermits) could not be opened (“format could not be read…”).
Compact and Repair led to the table being removed by Access. After repeating this and getting the same result, I got straight on to the IT support people and had a backup copy from the previous night within 10 minutes. All up and running in half an hour.
Now the issue. Users run the application from FEs on C drives of laptops in networked docking stations and can take the laptops home for working remotely. I believe this corruption was caused by the manager of the unit who on the previous day, had not shut down the laptop but merely closed the screen to put it in sleep mode, before taking it home and then waking up to continue with a Word document which had no problem; not so the database.
When I pointed out the bleeding obvious to the manager, he fully accepted the situation but wants me to set up something to cope with this same event in the future, because he says in the rush at the end of the day, he’s likely to do the same again.
I can’t see any way from within the Access application that could trigger a close of the database. Maybe there is a Windows API that could be used. I’ve done some cursory searching but before going further, I’ll ask if anyone has any suggestions/advice.