Results 1 to 3 of 3
  1. #1
    millers is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    2

    database relationships?

    I'm very new to Access and I'm trying to create a database for patients. I have necessary information in four tables, eg :

    Table 1
    PatientID
    Location
    FamilyName
    ChildName
    DateOfBirth
    MotherName


    MotherAddress
    MotherTelephone
    MotherMobile
    MotherEmail
    FatherName
    FatherAddress
    FatherTelephone
    FatherMobile
    FatherEmail
    FosterparentName
    FosterparentAddress
    FosterparentTelephone
    FosterparentMobile
    FosterparentEmail
    ReportDue
    LOAsent
    Notes

    Table 2
    AdvocateID
    AdvocateFirm
    AdvocateAddress
    AdvocateTelephone
    AdvocateFax
    AdvocateLeader
    AdvocateLeaderTelephone
    AdvocateLeaderEmail
    AdvocateAssistant
    AdvocateAsstTelephone
    AdvocateAsstEmail
    AdvocateAsstMobile

    Table 3
    SafeguarderID
    SafeguarderName
    SafeguarderAddress
    SafeguarderTelephone
    SafeguarderEmail
    SafeguarderMobile

    Table 4
    SocialworkerID
    Socialworker
    SocialworkerAddress
    SocialworkerTelephone
    SocialworkerEmail
    SocialworkerMobile

    However, because of the complexity of these cases the Child, Mother, and Father may all have separate Advocates, as will the Socialworker. Plus, the Advocates, Socialworkers, and Safeguarders will all have many different children as clients. How do I create relationships between these tables that will take account of the multiple links?

    Many thanks for any assistance you can give me.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    whats the business driver? the patient, right? so that's really the only thing you need to concern yourself with. there is actually nothing wrong with duplicating patient data in the patient table if a father, mother or another sibling is a patient in one record, and a relative in another record for another patient, like a son or daughter. does that make sense?

    you really should have the fields of ID, ID and ID, all from the advocate, safeguarder and socialworker tables included in the patient table. that would complete the normalization really. and unless those 3 child tables have other information associated with them, they will only be involved in those 3 relationships, all with the patient table.

  3. #3
    millers is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2011
    Posts
    2
    Thanks for your help. I shall try your suggestion and hope that I've understood it correctly.

    Regards

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database relationships
    By radex7 in forum Database Design
    Replies: 10
    Last Post: 03-07-2011, 05:07 PM
  2. Relationships
    By bopsgtir in forum Database Design
    Replies: 1
    Last Post: 01-10-2011, 12:44 PM
  3. One to many relationships
    By CoachBarker in forum Database Design
    Replies: 1
    Last Post: 09-13-2010, 09:01 PM
  4. Too Many Relationships
    By MikeT in forum Database Design
    Replies: 4
    Last Post: 08-25-2010, 07:23 PM
  5. Training Database - Relationships
    By simmurray in forum Database Design
    Replies: 0
    Last Post: 01-12-2007, 03:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums