Can we create multicolumn unique indexes on MS access databases?

后端 未结 4 1870
走了就别回头了
走了就别回头了 2020-12-01 10:53

We\'d like to prevent record duplication in our MS access database using a multicolumn unique index. Because of how the data is sent (via network), duplicate data is sometim

4条回答
  •  被撕碎了的回忆
    2020-12-01 11:19

    We can make multi data to be unique data without set them as primary key.

    (Note: only 1 data in the table can be primary key)

    Step to set the data value as unique data (for MS ACCESS 2007 - 2010)

    1. Open selected table in Design View
    2. Click (Highlight) the specific column/attribute that you wish to set as unique
    3. At the bottom of the table you will see "Index Properties" for that specific column
    4. Find "Indexed" column, currently the data in Indexed text box is "No", change the data by click at the end of text box, choose "Yes(No Duplicates)"

    Really hopes this methods can helps all of you! :)

提交回复
热议问题