LOTUSSCRIPT/COM/OLE CLASSES


Locking documents and design elements
Locks permit you to synchronize multi-user access to documents and the following design elements: agents, forms, and views.

To permit locking in a database:

The following properties and methods manipulate locks:
NotesDocumentNotesAgentNotesFormNotesView
LockHoldersLockHoldersLockHoldersLockHolders
LockLockLockLock
LockProvisionalLockProvisionalLockProvisionalLockProvisional
UnLockUnLockUnLockUnLock
To apply a lock, call Lock or LockProvisional. The first parameter specifies the lock holder or holders, and defaults to the effective user. The LockHolders property returns the current lock holders.

A lock is:


To serialize or otherwise limit access to a document or design element, apply Lock or LockProvisional and examine the return status:
The typical protocol is to proceed on True, and to exit or wait on False.

Locks are not supported in Web applications.

See Also