G
george
Hi to all,
I work on an insurance project.I have a table,
tblPolicies, which has a triple primary key: BranchID,
CompanyID, PolicyN. To this table I want to relate another
table, tblPolicyDetails. What is the best way to do this?
1. in the second table create an auto number primary key
and a foreign key (BranchID, CompanyID, PolicyN) and then
relate the primary key to the foreign key (BranchID to
BranchID, CompanyID to CompanyID, PolicyN to PolicyN)
2. in the second table create the same triple primary key
as in the first table and then connect the two primary
keys (as before) in a one to one relationship
3. some other possibility?
any help appreciated, george
I work on an insurance project.I have a table,
tblPolicies, which has a triple primary key: BranchID,
CompanyID, PolicyN. To this table I want to relate another
table, tblPolicyDetails. What is the best way to do this?
1. in the second table create an auto number primary key
and a foreign key (BranchID, CompanyID, PolicyN) and then
relate the primary key to the foreign key (BranchID to
BranchID, CompanyID to CompanyID, PolicyN to PolicyN)
2. in the second table create the same triple primary key
as in the first table and then connect the two primary
keys (as before) in a one to one relationship
3. some other possibility?
any help appreciated, george