duplicates - Unique Combination of Fields in MS Access - Stack Overflow

I'm trying to make a table in Microsoft Access that doesn't allow duplicate values in multipl

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743747961a4500360.html

相关推荐

  • duplicates - Unique Combination of Fields in MS Access - Stack Overflow

    I'm trying to make a table in Microsoft Access that doesn't allow duplicate values in multipl

    7天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信