|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Can anyone teach me how to create backup and restore function?
The database is for the system itself, which means the database is currently open when the system is in use. How to perform backup or restore? How to build such code? |
| Sponsored Links |
|
|
|
|||||
|
If you just want the data, go through each table doing a "SELECT * FROM table_name" and save the results somewhere. You can restore using INSERT statements.
For table structure, you'll need to do a little research on how to extract the table names/fields.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||
|
What I mean was I want to backup my whole database into a new file, like duplicating the database.mdb to another file named databackup.mdb and later I can use the backup file if the database file is damaged or corrupted.
|
|
|||
|
Hi,
Copy the mdb file and put in another place is very useful. Besides, sometimes the backup also will damage. I would liek to use a tool called Advanced Access Repair to repair my corrupt Access MDB files . With the both methods, the mdb file is more likely to keep safe. Alan |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create Backup, restore on VMWARE | Ronin | Computer Software/OS | 3 | 09-25-2007 08:16 AM |
| Joomla Backup AND restore | Johnnyboy | Website Design | 24 | 01-01-2007 01:18 AM |