|
Question : Save operation failed
|
|
Ouch, i'm getting this when trying to save changes to a Module. Never happened before.
Last thing i did was ran a Sub manually to process a txt file. I noticed also before I got this error sometimes I MSAccess would terminate itself when running this Sub then opening any form (i would have to quit then re-open access to avoid this).
Seems like i got a corruption problem. I will probably go to last backup, or maybe export all objects to a new db, but this could take a while. Any ideas of other solution, and the cause so I can avoid this happening again?
Cheers
|
|
Answer : Save operation failed
|
|
You appear to have a corrupt database all right.
Open our database via a shortcut:
"C:\Program Files\Microsoft Office\Office\msaccess.exe" "C:\PathToDb\NameOfDb.mdb" /DECOMPILE If using workgroup security, you will need to supply additional options in the shortcut; i.e. /wrkgrp "C:\PathToWorkgroupFile\NameOfWorkgroupFile.mdw" /user "AdministrativeUser"
This will decompile the modules in the database file.
Then open the database as normal, and click the modules tab in the database window. Open a module and compile all modules. This will show up any potential difficulties with the code.
Finally, compact and repair the database and see if this helps.
If this does not work, decompile as above, and then try using Microsoft's JetComp utility, which compacts and repairs a database without it being open.
If this does'nt work, then you could try salvaging any modules, objects by exporting to a new database.
HTH
|
|
|
|