Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Eliminate Duplicate Combinations of Records

Status
Not open for further replies.

multipleintell

Technical User
Dec 7, 2001
72
US
Hey,

I have a table that is linking two other tables. I do not want to have a combination of two fields not be unique. In other words...

FieldA FieldB
red apple
red strawberry
orange orange
yellow banana
green lime
green apple
red apple this is a duplicate combination

[shadeshappy]

I want both fields to allow duplicate records however,...
I don't want a combination to be duplicated.

How do I eliminate this problem?

Thanks you in advance
Melissa
 
introduce an index which is composed of the two fiedls and set it's property to no dup allowed

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top