LOTUSSCRIPT/COM/OLE CLASSES


Lock method
Example

Locks a view.

Note This method is new with Release 6.

Defined in

NotesView

Syntax

flag = notesView.Lock( [ name ] [ , provisionalOK ] )

Parameters

name


provisionalOK Return value

flag

Usage

IsDesignLockingEnabled in NotesDatabase must be True or this method raises an error.

This method:


The following actions occur depending on the current lock status:
If the view is modified by another user before the lock can be placed, this method raises an error.

Language cross-reference

lock method in Java View class

Example
See Also