Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP ERROR
Message
De
15/06/1998 02:30:21
 
 
À
15/06/1998 00:09:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00108099
Message ID:
00108113
Vues:
41
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform