I have a form where I choose a company and then choose a product #. Each of these is a combo box. I am storing my choices in a table called "Selected". I want to make sure that the same Product-Company combination is not allowed to be entered. I know how to not allow duplicates for one field, but how do I do it for a combination?
In other words, a company can buy many products, and a product can be bought by many companies... but one company can not re-purchase the same product.
I am pretty much a new user but I think I need to somehow use the composite key, but how? Thanks for your help as always!
marco
In other words, a company can buy many products, and a product can be bought by many companies... but one company can not re-purchase the same product.
I am pretty much a new user but I think I need to somehow use the composite key, but how? Thanks for your help as always!
marco