RE: Link Multiple Criteria
- From: Beetle <Beetle@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Jul 2009 14:48:01 -0700
For example, if you wanted to enter/view a Risk and
then assign all the associated Controls, you would create
a main form based on tblRisks with a sub form based
on tblRiskControls (the junction table) using RiskID as
the Master/Child link. In the sub form you would use a
combo box bound to ControlID in order to enter the
Controls that relate to that Risk. The Row Source of the
combo box would be a query based on tblControls.
--
_________
Sean Bailey
"JD McLeod" wrote:
Thank Sean. The table structure you described makes sense. Can you.
elaborate on the mechanics of how i would populate the third table to "create
the link"? Would i use a form that pulls data from the other two tables? I
looked up this topic in Access help, but it didn't really explaon how the
third table would work. thanks for your help.
"Beetle" wrote:
It sound like you have, essentially, a many-to-many
relationship between Risks and Controls, in which case
you need a third table to manage it. Example;
tblRisks
******
RiskID (Primary Key)
RiskName
other attributes of each Risk
tblControls
********
ControlID (PK)
ControlName
PersonID (Foreign Key to tblPersons)
other attributes of each Control
tblRiskControls
***********
RiskID (FK to tblRisks)
ControlID (FK to tblControls)
any attributes that are specific to the relationship
(RiskID and ControlID would be a combined PK for the above table)
tblPersons
********
PersonID(PK)
FirstName
LastName
Title
other attributes of each person
--
_________
Sean Bailey
"JD McLeod" wrote:
I am creating a database for risk management. In this database, users will
input risks and the controls that mitigate those risks. The problem I am
having in designing the table is that one control may mitigate more than one
risk. I envision a table for the risks which contains all of the details
such as risk type, risk category etc. I then thought I would have a table
for the controls and related data such as performance frequency, person
responsible, etc. Where I am stuck is on how to “assign” (link) one of the
controls to one or more risks. I am just beginning to look at the table
design, so any help or thoughts on how to accomplish this would be
appreciated.
- References:
- Link Multiple Criteria
- From: JD McLeod
- RE: Link Multiple Criteria
- From: Beetle
- RE: Link Multiple Criteria
- From: JD McLeod
- Link Multiple Criteria
- Prev by Date: Linking to Picure Libraries on SharePoint
- Next by Date: Re: Need Access template to log students into classroom?
- Previous by thread: RE: Link Multiple Criteria
- Next by thread: RE: Link Multiple Criteria
- Index(es):
Relevant Pages
|