Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get a record to lock?
Message
De
15/10/2000 22:05:44
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can't get a record to lock?
Divers
Thread ID:
00429650
Message ID:
00429650
Vues:
46
I can not get the following code to lock a record. What can can cause this failure? I've got multilocks on, and reprocess set to automatic for testing.

STORE recno() to gcreclist2
DO WHILE NOT RLOCK('myfile')
RLOCK(str(gcreclist2), 'myfile') &&& Lock clinical record
IF NOT RLOCK()
Wait window "Somebody else is working on this record"
ELSE
UNLOCK
ENDIF
ENDDO

thanks
Some days it's not worth chewing through the leather straps ...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform