Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP ERROR
Message
From
15/06/1998 02:30:21
 
 
To
15/06/1998 00:09:41
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00108099
Message ID:
00108113
Views:
40
>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
   * take action
ENDIF
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform