Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT INTO when locked
Message
De
11/07/1997 16:00:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00039533
Message ID:
00039580
Vues:
33
>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?

Yes, in the INSERT INTO, I have something like this:

INSERT INTO (IDFIELD,etc.) VALUES (GetNumero('THREAD'),etc.)

where the GetNumero() function is doing a FLOCK() in a TABLE.DBF in order to readjust the next ID value and then return that value here. This is usually a flash.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform