简体   繁体   English

MS Access-显示自定义主键自动编号

[英]MS Access - Display Custom Primary Key autonumber

在此处输入图片说明 I am new to MS Access. 我是MS Access的新手。 I am trying to display custom primary key auto numbers ie 251-01,251-02,251-03......etc in my form. 我正在尝试在我的表单中显示自定义主键自动编号,即251-01,251-02,251-03 ...等。

At the moment the custom generated autonumber is working fine in the table but when I try to display this on the form, it only shows 1,2,3.....etc. 目前,自定义生成的自动编号在表中工作正常,但是当我尝试在表单上显示此编号时,它仅显示1,2,3..etc。

Any ideas how I can achieve this? 有什么想法可以实现这一目标吗? 在此处输入图片说明

感谢您的帮助。...我设法找到了另一种方法.....只是不得不删除表单上的标签,并插入带有指向自定义PK的控制源的新标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM