BikeToWork
Programmer
I support a networked fe/be Access 2007 application. There is never a problem with the backend but the frontend frequently gets corrupted. Multiple users share the same front end. Unfortunately there is no workaround for this since there is no way to access users' hard drives to copy the front end there. I suspect users simultaneously sharing the front end on a slow network share is the cause of the corruption. The end result is that the database gets corrupted at least once a week and one of two things happen:
1. The code in events disappears, so for example, clicking on a button does nothing because the on_click event is wiped out.
2. A message comes up about corrupt VBA modules and the database will not open.
What I'm wondering is if there is any way to trap for this corruption so that I could put in a vb script that would replace the database automatically if the modules are corrupt. I would use an Autoexec macro but this won't fire if the database won't open in the first place, which is often the case. Any help would be greatly appreciated.
1. The code in events disappears, so for example, clicking on a button does nothing because the on_click event is wiped out.
2. A message comes up about corrupt VBA modules and the database will not open.
What I'm wondering is if there is any way to trap for this corruption so that I could put in a vb script that would replace the database automatically if the modules are corrupt. I would use an Autoexec macro but this won't fire if the database won't open in the first place, which is often the case. Any help would be greatly appreciated.