Navigation:  Reference > Functions >

IsRecordLocked()

Print this Topic Previous pageReturn to chapter overviewNext page

 

LCKD(1,2)

 

PURPOSE

This function will allow you to check if a record is locked by another user for a specific file/key value without having to actually read the record.

 

PARTS

 

1 f/c/e        Required - The file_number/handle of the file to be checked.

 

2 key_expr(Btrieve) Required - The key number to be used.
2 f/c/e        (CodeBase) Required - The name of the key to be used.

 

 

RETURN TYPE - L

If the record is locked the function will return .T., otherwise .F.

 

COMMENTS

This function assumes you have a value in the key field(s) already and will do the search based on that value.  The existing record buffer will not be changed.

 

SEE ALSO

LOCK_REC()

 

 


Page url: http://www.cassoftware.com/tas/manual/isrecordlocked().htm