Viva Clipper !

dbRUnlock()

Advertisements

DBRUNLOCK()

Unlocks a record based on its identifier

Syntax

      DBRUNLOCK([<xIdentity>])

Arguments

<xIdentity> Record identifier, typically a record number

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

      PROCEDURE Main()
         USE tests NEW
         DBGOTO( 10 )
         IF RLOCK()
            ? tests->ID
            DBRUNLOCK()
         ENDIF
         USE
         RETURN

Compliance

Clipper

Files

Library is rdd

Seealso

RLOCK(), DBRLOCK(), DBRLOCKLIST()

Advertisements

Advertisements