Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why my database still open ?
Message
From
27/02/2004 06:38:32
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
27/02/2004 06:11:29
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00881396
Message ID:
00881400
Views:
26
Hi Hee!

>in my restore procedure i wrote
>open data xyz
> .... do some thing......
>close data all
> .... restore data from a zip file with winzip command line ...
> some times ok but some time error message
>Error: The process cannot access the file because it is being used by another process.
>Cannot create .\xyz.dbc
>it means close data all command some time cannot close database xyz.dbc
>can anyone tell me why and how to close it ?????

You can to confer if it is open with DBUsed() function. If it is open, set to it (Set Database To XYZ) and do Close Database command.
Good luck!
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform