PRB: ISRLOCKED() and ISFLOCKED() Return Incorrect Values (188064)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q188064 SYMPTOMS
When an instance of Visual FoxPro locks a record or a table, calling the
ISRLOCKED() or ISFLOCKED() functions on another computer or another
instance of Visual FoxPro returns false.
RESOLUTION
Test the lock status using RLOCK() or FLOCK() instead. ISRLOCKED() and
ISFLOCKED() only indicate whether the record or file is locked by the
instance of Visual FoxPro from which they are called. If these functions
were to test for the record and file locks of other users, the lock status
could quickly change. This would make the information returned by
ISRLOCKED() and ISFLOCKED unreliable.
STATUS
This behavior is by design.
REFERENCES
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | kbprb KB188064 kbAudDeveloper |
---|
|