Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

DBUNLOCK()

Unlock a record or release a file lock
---------------------------------------------------------------------------------

 Syntax

        DBUNLOCK() --> NIL  

 Returns

        DBUNLOCK()   always returns NIL.    

 Description

      This function releases the file or record lock in the currently
      selected  or aliased work area.It will not unlock an associated
      lock in a related data-  bases.

 Examples

      nId:=10
      USE TestId INDEX TestId NEW
      IF TestId->(DBSEEK(nId))
         IF TestId->(RLOCK())
            DBDELETE()
         ELSE
             DBUNLOCK()
         ENDIF
      ENDIF
      USE

Status

      Ready

 Compliance

      This function is CA-Clipper compatible.

 Files

      Library is rdd



See Also: DBUNLOCKALL() FLOCK() RLOCK()

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