General information
Category:
Coding, syntax & commands
The Help is hardly helpful on this one because it doesn't mention what you have observed. BUT... that is what it is designed to do - report on the lock status WITHIN the application issuing the function.
In other words, it tells you if you have already locked the record within this running instance of the application.
I can see no good use for this command, save possibly to make code a tad more understandable.
>Hi,
>
>I haven't seen any problems when using RLOCK(), it really returns what Microsoft says.
>But I am not understanding ISRLOCKED() when opening a shared table in the server from 2 different machines:
>
>Machine 1
>
>use table1 && having only 1 record
>? rlock() && Returns .T. and status bar says: Record locked
>? ISRLOCKED() && Returns .T.
>
>
>
>Machine 2
>use table1 && status bar says: Record 1/1 Record UNlocked
>? rlock() && Returns .F. It's OK
>? ISRLOCKED() && Returns .F.
>
>
>Why ISRLOCKED() still returns .F. and status bar shows Record Unlocked message on Machine 2 ?
>
>
>
>Thanks.
>
>Juan.
Previous
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