Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT INTO when locked
Message
 
À
11/07/1997 13:47:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00039533
Message ID:
00039557
Vues:
35
>Sometimes, I have an INSERT INTO which generates "file is in used by another user" which result in a fail.
>
>I have SET REPROCESS TO 2 SECONDS.
>
>Does this mean that during that 2 seconds, the INSERT INTO was unable to lock the header?
>
>Should I be better to move this to SET REPROCESS TO 5 SECONDS?

To handle such situation I have the routine in my error handler which sets a 10-attempt loop with RETRY, and asks what to do after this (if it is still not locked).
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform