
12-18-2000, 09:24 AM
|
|
|
Re: Compacting Error
|
Ah yesss.......
Compressing files, renaming files, and/or deleting files all require EXCLUSIVE access to the database in question. You must open the database exclusively to perform these tasks. However, comma, the CompactDatabase method/statement cannot even be used by THE client that has the file openned exclusively.
The best concept I've found (an god almighty I hope someone has a better algorithm) is to open the file exclusively, quickly close it, and then run the CompactDatabase method, then close it again.
Also, be aware that if some chump has the file openned in Access you will get this error as well.
Later,
Roger Bogh
Yak & Quack Software Incorporated...
|
|