Launching "Backup Database" from a button

andy_25

Registered User.
Local time
Today, 10:16
Joined
Jan 27, 2009
Messages
86
Hi, I have created a database for a client that is maximised and has all menus hidden etc. I want to create a button that launches the Back up Database

Office Icon > Manage > Back up Database

Anyone have any idea how I could code a button on a form to launch that?

Thanks
 
Use the application.followhyperlink function.

Code:
Application.FollowHyperlink "C:\yourbackupdatabase.mdb"
 
Hi ghudson,

I'm not sure how that is going to help me, could you explain further please?

I presume I needed an API or something, similar to the following to call the function maybe?

http://www.mvps.org/access/api/api0001.htm
 
All you want to do is open another database file from a fixed location [C:\yourbackupdatabase.mdb] that never changes with the click of a button, right? If not, what exactly are you trying to do?
 
All you want to do is open another database file from a fixed location [C:\yourbackupdatabase.mdb] that never changes with the click of a button, right? If not, what exactly are you trying to do?
All I am trying to do is launch the built in Back up Database utility from a command button instead of clicking the Office Icon, Manage, Back up Database.
 
All you want to do is open another database file from a fixed location [C:\yourbackupdatabase.mdb] that never changes with the click of a button, right? If not, what exactly are you trying to do?

I have just read my question and see why you are confused, I did not explain very well appologies.

Instead of using "Back up Database" from the menu, I want to code a button to launch it :)
 

Users who are viewing this thread

Back
Top Bottom