Access Relationship Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chriscarllewis2012
    New Member
    • Jan 2008
    • 1

    #1

    Access Relationship Help

    Hey -

    I'm designing the relationships between some tables in Access and am looking for a little guidance - The part I'm struggling with:

    I have four tables,

    Inspections (inspection_ID,........)
    Incident (Inc_iD,.......)
    Environment Incident (env_id, ....)

    and

    Investigation (investigation_i d,.....)

    When an incident, environmental or not, or an inspection is entered into the system, one investigation is mandatory. What would be the best way to link these tables? I've tried a few different ways but am unsure which would be best...
    Thanks

    Chris
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Originally posted by chriscarllewis2 012
    Hey -

    I'm designing the relationships between some tables in Access and am looking for a little guidance - The part I'm struggling with:

    I have four tables,

    Inspections (inspection_ID,........)
    Incident (Inc_iD,.......)
    Environment Incident (env_id, ....)

    and

    Investigation (investigation_i d,.....)

    When an incident, environmental or not, or an inspection is entered into the system, one investigation is mandatory. What would be the best way to link these tables? I've tried a few different ways but am unsure which would be best...
    Thanks

    Chris
    If there is one and only one investigation per incident then create a foreign key in Incident table for investigation_i d.

    You might also find the following article useful.

    Database Normalization and Table structures

    I am also moving this thread to the Access forum.

    Comment

    Working...