Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Record in use' error...
Message
 
À
16/10/1998 14:41:21
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147351
Message ID:
00147645
Vues:
28
Hi Nancy,

>INSERT INTO doesn't lock anything at all, AFAIK...That's what TABLEUPDATE is for. What style of buffering do you use?

The VFP documentation states a list of commands that "automatically" handle locking while updating, and INSERT INTO is one of them. Perhjaps I have misread the docs, but I have never tried to lock anything on an INSERT INTO in a multi-user environment before and have never had this problem.

In terms of buffering, I am using pessamistic row buffing. As stated in the original post, I use an INSERT INTO to create the record (with buffering on), then issue an TABLEUPDATE() to write through to the database.

Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform