Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Backup a msacces database with savedialog

Posted on 2014-01-24
2
Medium Priority
?
141 Views
Last Modified: 2014-01-24
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
Comment
Question by:peterkiers
2 Comments
 
LVL 45

Accepted Solution

by:
AndyAinscow earned 2000 total points
ID: 39806450
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
 
LVL 1

Author Comment

by:peterkiers
ID: 39807293
Oke thank for the advice. Peter
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question