Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy dbc file
Message
De
28/01/2004 19:21:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/01/2004 13:11:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00871495
Message ID:
00871615
Vues:
17
>Hi!
>
>I have a program for copy one database, When i use it, the first time it works fine, but if i try for a second time, i get the "File is in use" message in the line with the command COPY FILE 'mydatabase.dbc' TO (wk_path +'mydatabase.dbc')
>
>I think my database is closed, but maybe it isn't.
>I'm using the CLOSE DATABASES command, it is enough?
>I can see the tables are closed, what about the dbc file?
>How can i be sure if the file was released?
>
>Thanks for your help

Perhaps you have it open in the Project Manager. You don't need to close the Project Manager; just select the database, and click on the "close" button, in the right part of the window.

In the standard toolbars, there is one place where it shows you the currently selected database; click there to see whether the database is open (but not selected).

This is for the current datasession; if you have datasessions that didn't close completely (for instance, some form is still running, or had an error when running), you may have open datasessions. Use the SET command to check for datasessions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform