P
Paul
Hi,
For my Access 2000 application, I tried to compact the
mdb file everynight. What's the best way to do?
Currently I created another mdb file with "On Timer"
event, so at night (say 11:00 PM), it will run the command
DBEngine.CompactDatabase dest, source.
Most of the time it will work, but seems not very
stable (80% successful rate). Last night, it copied the
file but after compact the size reduce from 58 meg to 3.
When I tried to run the application this morning, the
error message was "not a database format". I don't know
what happen?
What's the right way to do the nightly compact job?
Thanks for your kindly advise.
For my Access 2000 application, I tried to compact the
mdb file everynight. What's the best way to do?
Currently I created another mdb file with "On Timer"
event, so at night (say 11:00 PM), it will run the command
DBEngine.CompactDatabase dest, source.
Most of the time it will work, but seems not very
stable (80% successful rate). Last night, it copied the
file but after compact the size reduce from 58 meg to 3.
When I tried to run the application this morning, the
error message was "not a database format". I don't know
what happen?
What's the right way to do the nightly compact job?
Thanks for your kindly advise.