Programmieren mit dBASE PLUS: Funktionen: isSetLocked

Aus Wikibooks


Returns a logical value indicating whether the current rowset is locked.

Syntax[Bearbeiten]

Syntax

<oRef>.isSetLocked( )

<oRef>

An object reference to the rowset.

Eigenschaft von[Bearbeiten]

Rowset

Beschreibung[Bearbeiten]

Use isSetLocked( ) to determine if the same instance of the current rowset is locked before an attempt is made to edit or delete. isSetLocked( ) returns true to indicate the rowset is locked and false to indicate it isn't.

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