Programmieren mit dBASE PLUS: Funktionen: isRowLocked

Aus Wikibooks


Returns a logical value indicating whether the current rowset has locked the current row.

Syntax[Bearbeiten]

<oRef>.isRowLocked( )

<oRef>

An object reference to the rowset.

Eigenschaft von[Bearbeiten]

Rowset

Beschreibung[Bearbeiten]

Use isRowLocked( ) to determine if the same instance of the current row, in the current rowset, is locked before an attempt is made to edit or delete a record. isRowLocked returns true to indicate the row is locked and false to indicate it's not.

The isRowLocked( ) method only returns information about the current instance of a rowset. When dealing with multiple instances of a row or rowset, you'll need to attempt an explicit row lock with the lockRow( ) method.