如何在Lotus Domino中创建自动递增字段? [英] How to create an auto incrementing field in lotus domino?

查看:78
本文介绍了如何在Lotus Domino中创建自动递增字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在具有字段的Lotus Domino中有一个应用程序

I have an application in lotus domino with a field

UNIDID -数字(已计算)...

UNIDID-number(computed)...

我希望每次创建新条目时,此字段都将增加1,并且新值应存储在新记录文档中.

I want that every time a new entry is created, this field to increment by 1 and the new value should be stored in new record document..

我有一个@dbcolumn公式,它将使我获得UNIDID字段中的最后一个条目-

I have a @dbcolumn formula which will get me the last entry in the UNIDID field-

mFind:= @ DbColumn(":"NoCache"; @DbName;"lkpEmpMasterbyOnlyUnidCode"; 1);

mFind:=@DbColumn("" : "NoCache" ; @DbName ; "lkpEmpMasterbyOnlyUnidCode";1);

如何增加mFind并以" UNIDXXXX "的形式提交?

How do I increment mFind and submit it in form of 'UNIDXXXX'?

推荐答案

在顺序文档编号解决方案中采用文档锁定来确保编号唯一性

这篇关于如何在Lotus Domino中创建自动递增字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆