>>Hi all,
>>
>>I guess it's not possible for VFP to tell you who locked a particular record (or a table, whatever)? The rlock() function doesn't return this information when you try to place a lock on a record, which is already locked by some other user.
>>
>>Best regards,
>>Abe
>
>You may provide on application level, i.e. you can add one more field to a >table which will be filled by e.g. UserId when successful RLOCK() is applied, >i.e. next user can read UserId after unsuccessful RLOCK().
If User1 rlock the record, write UserId1 and after this, for example, go frozen? This record remain locked. Who it unlocked? Only User1? And what about User1 will go to your holiday? Which metod is correct to unlock bad locked records?
Maros Klempa
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement