>Hi everyone,
>Is there any possibility to trap the error "FILE ACCES IS DENIED". I can not find any error message. I have this problem when I want to open a dbf file in a network, but only if one "open" is exclusive
>Grazie !
An approach I've used is to do something like...
cOnErr= ON("ERROR")
ON ERROR lOK = .F.
lOK = .T.
USE MyFile EXCLUSIVE
ON ERROR &cOnErr
IF NOT lOK
ENDIF
HTH