Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>dbrunlock() function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBRUNLOCK() function
 Release all or specified record locks
------------------------------------------------------------------------------
 Syntax

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

 Arguments

     <xIdentity> is a unique value guaranteed by the structure of the
     data file to reference a specific item in a data source (database).  In
     a (.dbf) <xIdentity> is the record number.  In other data formats,
     <xIdentity> is the unique primary key value.

 Returns

     DBRUNLOCK() always returns NIL.

 Description

     DBRUNLOCK() is a database function that releases the lock on <xIdentity>
     and removes it from the Lock List.  If <xIdentity> is not specified, all
     record locks are released.

 Examples

     PROCEDURE dbRUnlockRange( nLo, nHi )

        LOCAL nCounter

        // Unlock the records in the range from nLo to nHi
        FOR nCounter := nLo TO nHi
           DBRUNLOCK( nCounter )
        NEXT

        RETURN

 Status:  New

 See also:  RLOCK(), DBRLOCK(), DBRLOCKLIST()

See Also: RLOCK() DBRLOCK() DBRLOCKLIST()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson