dbRLockList()

DBRLOCKLIST()

This function return a list of locked 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 records in that work area.

Examples

      PROCEDURE 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

Compliance

Clipper

Files

Library is rdd

Seealso

RLOCK(), DBRLOCK(), DBRUNLOCK()

3 responses to “dbRLockList()

  1. Pingback: Harbour All Functions – D | Viva Clipper !

  2. Pingback: Harbour Database Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.