Link to home
Start Free TrialLog in
Avatar of VikingEgil
VikingEgil

asked on

How can i make a button to backup the open database?

I need a button which makes a backup of the current open database.
I have tried using the Copydatabasefile macro, but this gived me an error, something like "the command copy database is not available now". Freely translated from Norwegian.

Using cmd and the copy function works, but if the database would be moved or renamed, that would cease to work.

I could use some VB code to generate a bat-file and inject the name of the current open database..

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of VikingEgil
VikingEgil

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial