xHarbour Reference Documentation > Function Reference |
Releases file and all record locks in a work area.
DbUnlock() --> NIL
The return value is always NIL.
This function releases all locks, i.e. file and record locks, in the current work area. Use an aliased expression to release locks in a different work area.
File locks are set with FLock() and are required when multiple records are changed during a single database operation, while record locks are set with RLock() or DbRLock().
See also: | DbRLock(), DbRLockList(), DbUnlockAll(), FLock(), RLock(), UNLOCK |
Category: | Database functions , Network functions |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com