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:
00039564
Vues:
27
> 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? That seems likely. I wouldn't change the SET REPROCESS time right away, rather I would have a look at why the header was locked for that long. Do you have other routines that issue an FLOCK() and then do a bunch of processing? Do you use pessimistic buffering? Is someone hitting your tables with something other than VFP? I've written a routine as part of my framework that indicates to a SysAdmin person exactly who has what screens open. This could also be expanded to include the function/field/etc. in the screen. You might want to consider something like this as well, just for troubleshooting. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform