>>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only