Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Lock method

Locks a form.

Note This method is new with Release 6.

Defined in

NotesForm

Syntax

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

Parameters

name

Array of type String. Optional. The names of the lock holders. Each lock holder must be a user or group. Defaults to one lock holder: the effective user. The empty string ("") is not permitted in the array.

provisionalOK

Boolean. Optional.

Return value

flag

Boolean.

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 form is modified by another user before the lock can be placed, this method raises an error.

Language cross-reference

lock method in Java Form class

See examples

Examples: Lock method
Related topics
Locking documents and design elements




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009