Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLOSE DATABASE FileName
Message
De
30/05/1997 11:37:40
 
 
À
29/05/1997 22:15:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00034175
Message ID:
00034257
Vues:
27
>>How can I close a specific database only?
>>CLOSE DATABASE FileName
>>Doesn't seem to be a valid command.
>
>CLOSE DATABASE ALL is the only thing I came up with. Ain't it terrible that you can't close a single database. I hope someone else has a better solution.

CLOSE DATABASE cDatabaseName is not valid.

CLOSE DATABASE ALL closes everything and puts you back in work area 1.

What you want is two commands back to back:

SET DATABASE TO cDatabaseName
CLOSE DATABASES

CLOSE DATABASES without the "ALL" addresses the current database.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform