xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DbUnlock()

Releases file and all record locks in a work area.

Syntax

DbUnlock() --> NIL

Return

The return value is always NIL.

Description

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().

Info

See also:DbRLock(), DbRLockList(), DbUnlockAll(), FLock(), RLock(), UNLOCK
Category: Database functions , Network functions
Source:rdd\dbcmd.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe