how to make a back-up/recovery system for an access database..
how could i back up my database if im using a Microsoft access database...? could that be applicable in ADODC>?? and how could i recover my database afterwards///?? please help me out...
[Edited by elric on 01-08-2006 at 05:34 PM GMT]
____________________________
-same thing over and over again..-
31-07-2006 at 04:22 AM
|
GeoffS Level: VB Lord Registered: 29-09-2004 Posts: 536
Re: how: back up recovery of an access database
Hi,
Why not just copy the mdb file. Then if you have a problem you can rename the copy to the active mdb name and your users will be connected to the undamaged copy.
____________________________ multi-tasking - the ability to hang more than one app. at the same time.
Re: how to make a back-up/recovery system for an access database..
don't i need to have a commonControl Dialog for this to work.. is this all the code.. just one line? heheh i know im asking too much.. but its a great help that someone answerd my call heheh.,,,
____________________________
-same thing over and over again..-
03-08-2006 at 04:49 PM
|
GeoffS Level: VB Lord Registered: 29-09-2004 Posts: 536
Re: how to make a back-up/recovery system for an access database..
Hi elric,
If you know where the database is, and where you want it to go, then this is the only line of code you need.
You would need the Common Dialog Control if you want to select the database source and backup locations at run time.
Alternatively, you could use the control to get the locations when you first run your program, then store them in a text file (or even the Windows Registry) then at backup time retrieve the values, and run the line of code to copy.
____________________________ multi-tasking - the ability to hang more than one app. at the same time.
04-08-2006 at 02:57 PM
|
AndreaVB Forum : Database : how to make a back-up/recovery system for an access database..