admin管理员组文章数量:1344462
I'm trying to make a table in Microsoft Access that doesn't allow duplicate values in multiple fields. I was using concatenation and sorting to do this in Excel. I tried a combined primary key, but it only catches duplicates when the fields have been entered the same way instead of in any combination and I don't really want the combined values to be my primary key.
Sample Table
I want record 3 to receive an error message about creating a duplicate value when trying to save the record, since it has the same values as record 2.
Is this something that can be done in a table, or is it necessary to make a query/form?
本文标签: duplicatesUnique Combination of Fields in MS AccessStack Overflow
版权声明:本文标题:duplicates - Unique Combination of Fields in MS Access - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743747961a2532110.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论