Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLOSE DATABASE FileName
Message
From
30/05/1997 11:37:40
 
 
To
29/05/1997 22:15:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00034175
Message ID:
00034257
Views:
29
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform