>Im having problems trying to find out if I can open a file exclusively or not.I set exclusive off and open the file. Then I use flock() to see if it returns .t.. It does but when I use the command "use orders excl" in order to pack the file, I get a file access denied error. Where am I going wrong please ?
>
TRY
use orders excl
CATCH
ENDTRY
IF USED("orders")
ELSE
ENDIF
--sb--