Results 1 to 5 of 5
  1. #1
    exnuke1972 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    2

    Linking Tables

    I am working on a db where I have a main table with a list of all classes offered this term. I have 7 other tables consisting of classes from the main segregated by department.

    My question is how do I link these (sub) tables to the main table allowing changes on either the subs or the main to change data on each other?

    Any help would be appreciated.

  2. #2
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    Unless you let us know the actual Data Structure it's impossible to give you good! advice.

    Example:

    Maintable
    field1 number
    field2 text

    table2
    field1 Number
    field2 Text

    maintable field1 -> table2 field1 (show linked fields)

  3. #3
    exnuke1972 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    2
    Structure is as follows

    Main
    ID [PK] Number
    Offer? Yes/No
    Course ID Text
    Course Title Text
    Credit Hours Number
    Days Text
    Start / End Time Text
    Site Text
    Room No Text
    Stud Cnt Text
    Add'l Comments Text

    All Subs
    ID[PK] Number
    Offer? Yes/No
    Course ID Text
    Course Title Text
    Add'l Comments Text
    Credit Hours Number
    Days Text
    Site Text

    So far I have one-to-one relationships setup between each of the subs and the main.

  4. #4
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    First thing you need to do and I put 110% importance on this step is read up on Database Normalization. Before you do anything else you desperately need to fix the Data structure. You want your data in 3rd Normal form.

  5. #5
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    Take a look at the attached JPG It'll give you a starting point.

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

Similar Threads

  1. Linking Tables
    By label027 in forum Import/Export Data
    Replies: 1
    Last Post: 11-07-2011, 05:16 PM
  2. Linking Tables
    By mcintke in forum Access
    Replies: 3
    Last Post: 06-13-2011, 06:28 PM
  3. Linking tables
    By newtoAccess in forum Forms
    Replies: 7
    Last Post: 05-16-2011, 09:26 AM
  4. Replies: 0
    Last Post: 03-04-2011, 10:28 AM
  5. Linking Tables?
    By briancb2004 in forum Access
    Replies: 0
    Last Post: 09-29-2008, 01:14 PM

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