Code prevent deletion of updating front-end mde

Bobby1st

Registered User.
Local time
Today, 18:23
Joined
Jan 5, 2007
Messages
62
Hello,

Can you provide me the link for the code to prevent deletion when updating the front-end mde file. I accidentally ran my master copy and deleted it.
Thanks
 
Can you be a wee bit more specific?

Deletion of what, the original Front-End?

You can implement code to Backup the original Front-End before the new Fron end is put into place. Even just Renaming the original can do it.

.
 
Thank you, you're very close. I have couple of back up on the same folder "Copy (1) of Master xxxxfile.mde". I was in a rush, when I press the Shift key and double click the original Master copy, all the files in that folder was highlighted, start opening and then it deleted itself when it encountered the "file is not the latest version . ." all is gone. I couldn't be fast enough to prevent it. I have some copies but does not contain the latest changes I made due for next month.

There's a code written by one of you expert guys to prevent this from happening if ever you made a mistake. I can't bring it up on the search. :)
 
The code I put into my autoupdating tool makes sure that, if the location of the master copy is the currentproject path then it won't even check to see if the version is correct and therefore wouldn't delete it.

Are you saying that you used my code and it did this? (just need to know in case something isn't working right).
 
CyberLynx, you're on the right path, many thanks, that's where I started and it's been working since.

boblarson,
my problem is and was, I have to shift key to open my master copy for changes but it happened on few occasion that I was not trying to run the master but another database. As I quickly press on the shift key and click enter another database, the entire files on the folder gets highlighted and start opening. It goes so quickly before I could react. The master does its routine and delete the original copy but there's none to replaced it. The back up copies did the same, every copy is now deleted. I already updated the version of the back end and ready to create a new mde file when interrupted to open another database.

I saw someone came up with a code to prevent this from happening, I made a copy but can't locate it. Do anything about it?

Thank you all
 

Users who are viewing this thread

Back
Top Bottom