Previous topic Next topic  

CacheIsRecLocked ( nWA, nRecNo ) -> lLocked

The function checks if <nRecNo> is locked by any process, external or RDD oriented, and returns its status TRUE or FALSE. Note that this is nor an RDD method so it is impractical to use it like - (MyTable)->CachéIsRecLocked(). Instead it has to be called directly with/without parameters.

<nWA> work-area number representing a table. Defaults to work-area returned by SELECT() function.

<nRecNo> record number whose lock status is queried. Defaults to number returned by RECNO() function.