|
-
Sep 26th, 2000, 04:16 PM
#1
Thread Starter
New Member
Here's my problem:
I have an application (that I didn't made by myself)
that can make backup of the databases that are used by it.
I have to make a form that allow the user to restore the
database that were backed-up. But my problem is that the
database(called 'transport.mdb') is open when I try to make
my restore and it won't let overwrite it.
Of course, I know I need to 'close' the database but I
really don't know how the fu** should I made this possible.
Please help me...
I'm not like them
but I can pretend
-
Sep 26th, 2000, 06:13 PM
#2
Addicted Member
Is the backup database is in compressed/zip form or whatsoever? Try to figure out how the application backs up its database?
-
Sep 27th, 2000, 03:28 AM
#3
Fanatic Member
Melvana
The only way you will be able to do this in acces is by creating a front end database which has all the forms , queries etc.
The tables from the original database will be linked to this front end.
You can run the back up from the front end by dropping the links to the database backing up the re-establish the links.
You can then create a form that will drop the links to the main database, delete it copy the backed up dtabase base and rename it to the the original deleted database and then re-link the tables.
Phew!
Hope this is of use to you.
The easiest way to back up in access is to use the CompactDatabase method. The easiest way to link tables is in the TransferDatabase method,
Gary Lowe 
VB6 (Enterprise) SP5
ADO 2.6
SQL Server 7 SP3
OK I know my spelling and grammer is crap so don't quote me on it!
To err is human to take the P! is only natural !!
Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|