Functions and Directives

Function DbLocked() Foundation

Checks if a table lock is set.

DbLocked() --> lIsFileLocked

The function DbLocked() returns .T. (true) if a lock is set for the current work area, otherwise .F. (false) is returned.


The function DbLocked() is used to check if a table or storage lock set via the FLock() function is active. It does not reflect the status of record locks set via RLock() or DbRLock().


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.