Compacting Access Database problem
Hi :
is it possible to compact a password protected Access 2000 database from code? I tied this:
DBEngine.CompactDatabase "c:\backend.mdb", "c:\backend1.mdb", ";pwd=password"
but I get an "Invalid password" error. Yet the password correctly open backend.mdb without a fuss in normal circumstances.
Any help would be greatly appreciated.
Thanks,
Ian
|