Richard6699
Technical User
Hi,
I have a password protected database that is started by a smaller loading db.
The loader db opens the main db supplies the password and the password is changed to "".
When closed the password is set once more.
I also have very similar code that compacts the main db from the loader db. This compacts the main db ok. However when i turn both files into MDEs and operate them in the runtime environment then after the compact takes place I can't open the main db again.
It seems that the password has not been set.
So when they are mdbs the compact code works fine but when they are MDEs in runtime it fails. The only difference is that I add code to the main MDE to stop it opening in full Access. Yet I'm sure that code does not execute when the compact takes place
What am I missing here? Is there a difference between compacting a db in full Access and runtime?
I'm using Access 2000 developer edition.
Many thanks for any suggestions.
Kind regards
Richard
I have a password protected database that is started by a smaller loading db.
The loader db opens the main db supplies the password and the password is changed to "".
When closed the password is set once more.
I also have very similar code that compacts the main db from the loader db. This compacts the main db ok. However when i turn both files into MDEs and operate them in the runtime environment then after the compact takes place I can't open the main db again.
It seems that the password has not been set.
So when they are mdbs the compact code works fine but when they are MDEs in runtime it fails. The only difference is that I add code to the main MDE to stop it opening in full Access. Yet I'm sure that code does not execute when the compact takes place
What am I missing here? Is there a difference between compacting a db in full Access and runtime?
I'm using Access 2000 developer edition.
Many thanks for any suggestions.
Kind regards
Richard