Originally posted by kcdoell
One of it aspects useful in your case that it can prevent information duplicating in table.
In table design view
- right-click to enter context menu
- choose [Indexes...]
- add to the first column new index name whatever you like
- add to the second column field names expected to be the parts of the index (both FKs)
- set Unique to Yes
- voile, the database engine itself will prevent FK combination duplication, sure you need to remove existing duplicates first
Regards,
Fish
Leave a comment: