> Q. Is there any way to check in a particular folder that tables are open or not open before copy or delete, if open then strict user that it is not possible to copy and delete tables because they are open
>
> e.g.
>
> (a) Copy File d:\xyz\*.dbf to d:\abc
>
> (b) Delete File d:\xyz\*.Cdx
One of the solutions:
lnfp=fopen(yourfile,2)
if lnfp >0
fclose(lnfp)
else
* file in use
endif
Best Wishes,
Yuri Rubinov