|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Exclusively opened database problems
I have a VB6 project that connects to a Access database. I get a run time error when I try to copy the database as a backup - "You attempted to open a database that is already opened exclusively..."
The problem is that I need to be able to copy this database while it is still open. How do I work around this? Thanks Steven |
|
#2
|
|||
|
|||
|
One way is to close any open connections to the db and once your code is disconnected you can use filesystem code to copy the db.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
It's not very practical for me to close the connections. However I cannot seem to find any other way except for creating a new database and copying tables and data to it. Thanks Steven |
|
#4
|
|||
|
|||
|
Take a look around www.mvps.org, there is a ton of excellent code in the access section.
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Exclusively opened database problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|