在SP中强制使用唯一的数值 [英] Enforcing a unique numeric value in SP
问题描述
我有一个列,其中信息类型将始终为格式如下的数字:YYYY-XXXXXX,其中Y =年,X =来自其他程序的自动生成的数字。 这两个用短划线分开。 现在,我将列设置为
为"数字"所以它不允许我进入破折号。 附加列设置仅要求指定最小值/最大值,小数位数和默认值:数字或计算值 - ?? 我可能需要将其设置为不同的
类型。 谢谢你的帮助。 我需要我能得到的一切。
I have a column where the type of information will always be a number formatted as follows: YYYY-XXXXXX, where Y = year and X = an auto-generated number from another program. These two are separated by a dash. Right now, I set the column up as "Number" so it will not allow me to enter the dash. Additional Column Settings only asks for specifying min/max, number of decimal places and default value: number or calculated value - ?? I probably need to set this up as a different type. Thanks for any help. I need all I can get.
推荐答案
您好
您可以使用计算字段这个。
You can use a calculated field for this.
使用公式来生成您的ID。
Use formula to generate your ID.
这篇关于在SP中强制使用唯一的数值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!