Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the CLOSE DATABASES working properely ??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00156149
Message ID:
00156228
Views:
34
>Thank you...
>
>But ...how should I close my database ?...What the CLOSE DATABASES command is supposed to do with the file .DBC ?...What do you do when you need to close a database ?

Well, CLOSE DATA ALL should work, in theory. Also, try SET DATA TO Mydbc and then CLOSE DATA. I've found CLOSE DATA doesn't work well unless you do this. Also CLEAR ALL or CLOSE TABLES ALL/CLOSE DATA ALL may work (although these may not be satisfactory at runtime :)

In addition, DBCs may not close properly if there is something unresolved or hidden (buffering, data session, etc.) - but these are only ideas posed in the other thread...

Maybe do a VALID DATA RECOV on your problem DBC, too, just to ensure it's okay...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform