>I used shell execute(from vfp) to view the document, after viewing the document i closed the document.
>
>Now when i tried to delete the file.
>
>DELETE FILE (locfile)
>
>I am getting the message file is in USE.
>
>Can you please tell me how i can release all the references. before deleting the file.
>
>
>Thank you.
try
if used(locFile)
select (locFile)
use
else
endif
DELETE FILE (locfile)
Imagination is more important than knowledge