# DBRUNLOCK()

Unlocks a record base on its indentifier

Syntax

  DBRUNLOCK([<xIdentity>]) --> NIL

Arguments

  <xIdentity> Record indentifier,tipicaly a record number

Returns

  DBRUNLOCK() always returns NIL.

Description

  This function will attempt to unlock the record specified as <xIdentity>,which in a .DBF format is the record number.If not specified,them the current active record/data item will be unlocked

Examples

          FUNCTION Main()
          USE Tests New
          DBGOTO(10)
          IF RLOCK()
             ? Tests->ID
             DBRUNLOCK()
          ENDIF
          USE
          RETURN NIL

Status

  Ready

Compliance

  This function is CA-Clipper compliant

Files

  Library is rdd

See Also

- RLOCK()
- DBRLOCK()
- DBRLOCKLIST()