How to create an auto incrementing field in lotus domino?

前端 未结 4 2026
面向向阳花
面向向阳花 2020-12-07 04:22

I have an application in lotus domino with a field

UNIDID-number(computed)...

I want that every time a new entry is created, this field to inc

4条回答
  •  余生分开走
    2020-12-07 05:16

    Read the comprehensive treatment of sequential numbering in Notes/Domino written by IBMer Andre Guirard. He considers the use of @DBColumn for sequential numbering a significant performance risk and provides algorithms and code for alternative approaches.

    I recommend the approach under the heading "Number Generation On Demand" using the code in Listing 2. Document locking is overkill- merely detecting whether the numbering document has been modified since it was read and reacting accordingly is sufficient.

提交回复
热议问题