RDD

DbUnlockAll()

Release record locks in all work areas

Syntax

Signature
DbUnlockAll() --> NIL

Arguments

None.

Return value

NIL.

Description

DbUnlockAll() visits every open work area and releases all record locks in each one. It does not select a different area, move any record pointer or change field data.

Notes

File locks are not changed. An area-level unlock failure can raise an error. Use DbUnlock() when the operation must stay within one area.

Example

DbUnlockAll.prg
PROCEDURE Main()

   DbUnlockAll()
   QOut( "All record locks released" )

RETURN

Output

See also