that the article described only works for a small non-distributed (no
replication happen on the database between servers) database. Why ? Let me
explain it. First of all, Because the entire method is depending on a "lockdoc"
which capture the unique document number of the original at the time the
document is being edited. Think about people is making change on the same
document that reside on different replica copy. The process will fail.
Secondly, if system crash during the edition of the document, then, an
un-wanted "lockdoc" will stay with the system and user will always get "lock"
message on that document all the time.
People is trying hard to do bullet-prove record locking strategy in Lotus Notes
database. But you have to remember the strength of Lotus Notes.
This was first published in November 2000