Extending product function with VBA > The System Architect object model > Object model classes > Encyclopedia class > Encyclopedia class: Methods > OpenLock
  
OpenLock
Attempts to lock the encyclopedia for the requested access mode.
Public Enum EncyLockMode
NETOPENREAD = 1 ' for reading
NETOPENUPDATE = 2 ' for writing
NETOPENREADWRITE = 3 ' for reading and writing
End Enum
OpenLock(LockMode As EncyLockMode) As Boolean
Returns Boolean to indicate success(True)/failure(False).
See also
CloseUnLock
CloseUnLockCommit
Go up to
Encyclopedia class: Methods