T
TeeSee
Please critique! Let's see if I understand this Primary key thing!
Customer in this code is someone I sell to. Go Figure!
I have a table called tblCustomerItems with three of the fields being
txtCustID, txtMyCode and txtCustItemCode. There could be duplicate
values in each of the three fields ....... therfore (I think) I have
to make a double primary key to make a uneek value. So I believe
txtCustID and txtCustItemCode if "joined" would give a uneek value. If
I have that bit correct .....? .....some of my customers do not have
(or provide) uneek item codes and so since you cannot have a NULL
value in a primary key field, how best do you massage these fields to
allow the primary key?
As always thankful for and appreciate the help and insight!aa
Customer in this code is someone I sell to. Go Figure!
I have a table called tblCustomerItems with three of the fields being
txtCustID, txtMyCode and txtCustItemCode. There could be duplicate
values in each of the three fields ....... therfore (I think) I have
to make a double primary key to make a uneek value. So I believe
txtCustID and txtCustItemCode if "joined" would give a uneek value. If
I have that bit correct .....? .....some of my customers do not have
(or provide) uneek item codes and so since you cannot have a NULL
value in a primary key field, how best do you massage these fields to
allow the primary key?
As always thankful for and appreciate the help and insight!aa