Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RLOCK
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: RLOCK
Divers
Thread ID:
00576665
Message ID:
00576717
Vues:
37
Hey Chuck (nice name!)

VFP does not natively give you this ability. You will have to find if someone else has written the code in order to do this.

I have thought this idea through a bit, but never implemented this idea myself. Here's what I think it would entail, however:

You must employ your own locking mechanism in addition to using RLOCK. Basically, instead of calling RLOCK directly, you call a custom function. That function would issue an rlock, change a special field in the record to show that the record is locked and by whom, and then unlock the record. You MUST use RLOCK because without it, you may be looking at an old version of the record, cached locally. RLOCK forces the local cache to be updated.

Someone must have code for this... anyone??
-Chuck Urwiler, MCSD, MCDBA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform