I am not too familiar with access and the relationships / primary keys that I need to define. If I could get a hand with this that would be excellent.
-- What the Database is For --
I am creating an access database for office use. It has all of our clients and their respective information. It is for a financial firm for easy reference.
-- the Data for the Database --
Ok. Here is where I am lost. I have a list of companies that all have their own Contact & General information. But not all of them have the other information (RPP, GI, and RRSP). Some of the companies have the same plans under (GI, RRSP, and RPP) Some have no plans...
This is what I was thinking. I have 6 tables:
Company Index - (company ID *PK, RPPID, GIID, RRSPID, and company name)
Company Contact Information - (company ID *PK, and all of the contact information fields)
Company General Information - (Company ID *PK, and all of the general information fields)
Company RPP Information - (RPPID *PK, all of the RPP plan information)
Company GI Information - (GIID *PK, all of the GI information fields)
Company RRSP Information - (RRSPID *PK, and all of the other RRSP plan information fields)
-- What I can't figure out --
How do I create relationships and primary keys so that I can relate all of this information together?
-- A Few Example Companies --
Kerridge -- has its own general and contact info. but has the same RPP plan as Smith Construction. and has no RRSP information. has no GI information.
Smith Contruction - has its own general and contact info. but has the same RPP plan as Kerridge. has its own unique RRSP plan. and has the same GI information as Tucker Concrete.
Tucker Concrete - has its own general and contact info. has no RPP information. has its own unique RRSP plan. but has the same GI plan as Smith Construction.
--------------------------------------------------------
I appreciate all of your advice and comments. Thank you very much for your time.
JC
-- What the Database is For --
I am creating an access database for office use. It has all of our clients and their respective information. It is for a financial firm for easy reference.
-- the Data for the Database --
Ok. Here is where I am lost. I have a list of companies that all have their own Contact & General information. But not all of them have the other information (RPP, GI, and RRSP). Some of the companies have the same plans under (GI, RRSP, and RPP) Some have no plans...
This is what I was thinking. I have 6 tables:
Company Index - (company ID *PK, RPPID, GIID, RRSPID, and company name)
Company Contact Information - (company ID *PK, and all of the contact information fields)
Company General Information - (Company ID *PK, and all of the general information fields)
Company RPP Information - (RPPID *PK, all of the RPP plan information)
Company GI Information - (GIID *PK, all of the GI information fields)
Company RRSP Information - (RRSPID *PK, and all of the other RRSP plan information fields)
-- What I can't figure out --
How do I create relationships and primary keys so that I can relate all of this information together?
-- A Few Example Companies --
Kerridge -- has its own general and contact info. but has the same RPP plan as Smith Construction. and has no RRSP information. has no GI information.
Smith Contruction - has its own general and contact info. but has the same RPP plan as Kerridge. has its own unique RRSP plan. and has the same GI information as Tucker Concrete.
Tucker Concrete - has its own general and contact info. has no RPP information. has its own unique RRSP plan. but has the same GI plan as Smith Construction.
--------------------------------------------------------
I appreciate all of your advice and comments. Thank you very much for your time.
JC