Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record locking
Message
De
24/08/1998 23:08:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00129495
Message ID:
00129569
Vues:
16
>>>>Is there a command to lock just a record so that noone else can modify or even look at this record?
>>>
>>>Take a look at Rlock().
>>>
>>>HTH
>>>Jeff
>>
>>Jeff, RLock() will prevent it's being changed, but not being looked at. I can't think of any command that won't allow a browse/Select/edit command.
>
>Is there any way to know whether the record is locked? Like a property or something? Even though they can view it I could tell them that it is read only or something!?


IF RLOCK()
* I just locked the record
ELSE
* Someone else has it locked
ENDIF

There is no way to prohibit someone for looking at the record.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform