[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

Backup a msacces database with savedialog

Dear Experts,

I want to write code to give the user the ability to create a backup of an access database by pressing on a button. Must I disconnect first and then connect the database after making the copy or can I just use a file copy methode?

Greetings, Peter Kiers
0
peterkiers
Asked:
peterkiers
1 Solution
 
AndyAinscowFreelance programmer / ConsultantCommented:
A simple filecopy will suffice BUT if a user is in the process of writing (possibly reading)  then it will very likely fail.  Safest is for all users to stop using the database before making the copy.
0
 
peterkiersAuthor Commented:
Oke thank for the advice. Peter
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now