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]

DBRLOCKLIST()

This function return a list of records in the database work area
---------------------------------------------------------------------------------

 Syntax

        DBRLOCKLIST() --> aRecordLocks  

 Returns

        <aRecordList>   is an array of lock records    

 Description

      This function will return an array of locked records in a given  and
      active work area.If the return array is an empty array  (meaning no
      elements in it),then there are no locked record in that  work area.

 Examples

      FUNCTION Main()
      LOCAL aList:={}
      LOCAL x:=0
      USE Tests NEW
      DBGOTO(10)
      RLOCK()
      DBGOTO(100)
      RLOCK()
      aList:=DBRLOCKLIST()
      FOR x:=1 TO LEN(aList)
         ? aList[x]
      NEXT
      USE
      RETURN NIL

Status

      Ready

 Compliance

      This function is CA-Clipper compliant

 Files

      Library is rdd



See Also: RLOCK() DBRLOCK() DBRUNLOCK()

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