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!