C
colonelk
Hi, and a big thanks in advance !
I'm re-writing a database based on capturing Corrective and Preventative
actions (CAPA) for QA. Previously the guy had 1 big table and several lookup
tables without relationships, and with table lookups !!! eek .
In the main table which captures most of the CAPA issue data we have the
need to capture the details of the CAPAInitiator, CAPAInvestigator,
ResponsibleManager, and CAPAActionsAssignee (amongst other things)
I'm trying to create 1 table (tblNames) with the name, email and company
name details for our employees and customers/suppliers, each of which may be
an Initiator, Investigator, ResponsibleManager or Assignee.
Now, its been a while since I dabbled in Access, but I cannot create
multiple relationships from the same table (tblNames) with the tblCAPA table
(i.e have multiple NamesID foreign keys in the CAPA table) and relate them.
The only way I've been able to do it is to have 4 tables (tblCAPAInitiator,
tblCAPAInvestigator, tblResponsibleManager, tblCAPAAssignee) and have the
foreign keys of those tables in tblCAPA. However I then have to replicate
the name, email and company name data across 4 tables. Seems like lots of
replication and no normalisation at all!
is there any way I can alter the relationships so that I have 1 table
(tblNames) that contains name, email, and company name data, and have the
main table refer to that one table for the name of the Initiator,
Investigator, and Responsible Manager etc etc even though the Initiator may
be a different person to the Investigator etc.......
Thanks
Tino
I'm re-writing a database based on capturing Corrective and Preventative
actions (CAPA) for QA. Previously the guy had 1 big table and several lookup
tables without relationships, and with table lookups !!! eek .
In the main table which captures most of the CAPA issue data we have the
need to capture the details of the CAPAInitiator, CAPAInvestigator,
ResponsibleManager, and CAPAActionsAssignee (amongst other things)
I'm trying to create 1 table (tblNames) with the name, email and company
name details for our employees and customers/suppliers, each of which may be
an Initiator, Investigator, ResponsibleManager or Assignee.
Now, its been a while since I dabbled in Access, but I cannot create
multiple relationships from the same table (tblNames) with the tblCAPA table
(i.e have multiple NamesID foreign keys in the CAPA table) and relate them.
The only way I've been able to do it is to have 4 tables (tblCAPAInitiator,
tblCAPAInvestigator, tblResponsibleManager, tblCAPAAssignee) and have the
foreign keys of those tables in tblCAPA. However I then have to replicate
the name, email and company name data across 4 tables. Seems like lots of
replication and no normalisation at all!
is there any way I can alter the relationships so that I have 1 table
(tblNames) that contains name, email, and company name data, and have the
main table refer to that one table for the name of the Initiator,
Investigator, and Responsible Manager etc etc even though the Initiator may
be a different person to the Investigator etc.......
Thanks
Tino