DBUNLOCK()
Unlock a record or release a file lock
- Syntax
-
- DBUNLOCK() --> NIL
- Returns
-
- DBUNLOCK() always returns NIL.
- Description
-
- This function releases the file or record lock in the currently selected or aliased work area.It will not unlock an associated lock in a related databases.
Examples
nId:=10
USE TestId INDEX TestId NEW
IF TestId->(DBSEEK(nId))
IF TestId->(RLOCK())
DBDELETE()
ELSE
DBUNLOCK()
ENDIF
ENDIF
USE
- Status
- Ready
- Compliance
-
- This function is CA-Clipper compatible.
- Files
-
- Library is rdd
- See Also