Prevent Duplicate Values in Access database

J

Jim P

How do I set the non-primary index which uses multiple fields so that I
cannot enter duplicate values in the multi-field index? I have tried
defining the multiple field index and then clicking YES on Uniqueness, but
this does not prevent duplicate entries in the table.
 
D

Duane Hookom

Creating a unique index on one or more fields should always insure
uniqueness. Are you for sure allowed to save table?
 
J

Jeff Boyce

Are your warnings turned off? This might dovetail with Duane's response,
not letting you see that your changes weren't saved. Can you confirm that
the index is still set after closing the table design window and re-opening
it?

Regards

Jeff Boyce
<Access MVP>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top