Results 1 to 3 of 3
  1. #1
    rbennion is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    Jun 2017
    Posts
    17

    Table relationship with four 1-1 tables

    hey everyone,



    I have a database that is 4 tables existing of a hospital patient's timeline through a rehab program. Table1 is "General" (general info, demographics), table2 is "Intake" (data when they started the program), table3 is "Discharge", table4 is "Follow-up". The PK is the FK in all of these tables because all of the tables refer to the same patient, just at different times in their timeline of care. Do I need to link all tables to each other as 1-1 or is how I have it below sufficient?

    Click image for larger version. 

Name:	Capture1.PNG 
Views:	11 
Size:	23.6 KB 
ID:	30938

    Thanks ahead of time.

    Rhet

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    No, I think that is going to create problems, as if they do not have records in all tables, they will not show up in most of your queries, unless you do a bunch of left-joins.

    I think you have a table design issue. If you have multiple tables that are structured similarly, that is usually a sign that they should be combined.
    I think Intake, Discharge, and Follow_up should be combined into one table, and just add a new field (named something like "Action"), where you select whether the record it is "Intake", "Discharge", or "Follow_up".

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Agree with JoeM. Need table for General and its PK will be saved as FK in table for the assessment data. Add a VisitDate to the Assessments table. Use a form/subform arrangement.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 5
    Last Post: 11-26-2013, 11:11 PM
  2. Replies: 5
    Last Post: 04-29-2013, 01:20 PM
  3. RelationShip between Tables
    By joe357 in forum Forms
    Replies: 3
    Last Post: 08-20-2012, 06:01 PM
  4. relationship between tables
    By jassie in forum Access
    Replies: 1
    Last Post: 03-27-2012, 05:14 PM
  5. relationship between the tables
    By mer in forum Queries
    Replies: 1
    Last Post: 07-05-2011, 05:52 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