Locked Document using codes

Hi all,

Is it possible to lock a document using a specific code such that when userA edits a document, userB cannot edit the same document untill userA release the lock?

If this is possible, would u mind if u can drop a hint or 2 on how to do that?

Many thanx in advance.

Best Regards,

Hengshi

Subject: Locked Document using codes

Dear

have a look on the $writers and $writersDate fields for the same

Mike

Subject: RE: Locked Document using codes

you can use “Allow document locking” database property and than can use Notesdocument.Lock(users) method provided in lotus script.

Subject: RE: Locked Document using codes

Hi,

thanx all for the responses.

Regards,

hengshi