Results 1 to 10 of 10
  1. #1
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66

    Relationship help

    I have multiple tables and there are two that I am needing help with in regards to the relationship.



    One of the tables has Course Information. (tblCourse).
    The other table has File Information (tblFile)

    I have a form which allows me to input new Courses. (no problem)
    The File however is giving me fits!!

    A file may or may NOT roll up to a COURSE.
    The form I have to input FILE information will not let me continue unless I associate it with a course!

    I don't WANT to associate everything.

    I know this is very basic... but I am VERY NEW to Access.

    I wish there was a course I could take... and am open to recommendations.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    It would help the reaer if you would define the things of interest to your situation.
    We have no idea what a File represents in your "business".
    I don't WANT to associate everything.
    It isn't so much what you want to relate/associate, it really depends on your business rules/facts.

    Here's a tutorial that may help you
    http://www.rogersaccesslibrary.com/T...lationship.zip

    Good luck.

  3. #3
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    I am sooo sorry.
    I am new to Access and don't even know how to describe my situation.

    Can someone review this and let me know if I am on the right track or if there is something that stands out as being REALLY badly set up?

    It's the form (frmClass_File) that is giving me troubles.
    Attached Files Attached Files

  4. #4
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66

    Is this design appropriate?

    I am NEW to databases and would love recommendations from those who know what they are doing. (I am not one of them!!!!)

    I have two main areas.

    tblCourse: This has specific course info:
    1. Course Name
    2. Course Description
    3. Delivery Type (Can't change)
    4. Course Topic (Can't change)
    5. Course Audience (Can't change)

    tblFile: These can be part of courses, or stand alone as an individual piece.
    1. Item Name
    2. Item Description
    3. Item Audience (Pulls from same source information... can't change)
    4. Item Topic (Pulls from same source information... can't change)
    5. Item Type (Can't change)
    6. Item Delivery (Can't Change)
    This is linked by "Related Course" but as I mentioned... may or may NOT be linked to a specific course.

    What do you see that is glaringly BAD???
    I am having issues with creating "stand alone" files through my input form.

    Click image for larger version. 

Name:	heirachy.jpg 
Views:	41 
Size:	40.7 KB 
ID:	13571

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,645
    How can a course have more than one topic, more than one delivery type, more than one audience?

    You have loaded this design with multi-value fields. I NEVER use multi-value field. Whether or not multi-value fields are bad is subject to debate but most experienced db developers avoid them.
    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.

  6. #6
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    Quote Originally Posted by June7 View Post
    How can a course have more than one topic, more than one delivery type, more than one audience?

    You have loaded this design with multi-value fields. I NEVER use multi-value field. Whether or not multi-value fields are bad is subject to debate but most experienced db developers avoid them.
    THAT is a great call out and I have totally redesigned EVERYTHING!!!
    Here is my new structure.

    I hope this makes more sense.

    Click image for larger version. 

Name:	heirachy2.jpg 
Views:	31 
Size:	27.0 KB 
ID:	13575

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Did you visit the link I gave previously?

  8. #8
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66

    Totally Redesigned... Can you please offer recommendations.

    I have completely re-designed my database and would LOVE recommendations!

    I have two main areas.

    Courses: This has specific course info:
    1. Course Name (txt)
    2. Course Description (Memo)
    3. Delivery Type (datDelivery)
    4. Course Topic (dat_Topic)
    5. Course Audience (dat_Audience)

    Files: These can be part of courses, or stand alone as an individual piece.
    1. Item Name (txt)
    2. Item Description (Memo)
    3. Item Audience (dat_Audience)
    4. Item Topic (dat_Topic)
    5. Item Type (dat_Item_Type)
    6. Item Delivery (dat_Delivery)

    I have these linked by junctions where appropriate.

    What do you see that is glaringly BAD???
    I am having issues with creating input forms due to the junctions.
    Click image for larger version. 

Name:	heirachy2.jpg 
Views:	33 
Size:	27.0 KB 
ID:	13607

  9. #9
    floyd is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    66
    Can someone let me know if I am on the right track?
    I would hate to invest a lot more time on something that doesn't make sense.

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,645
    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. Help With One-to-many Relationship
    By Rick5150 in forum Forms
    Replies: 2
    Last Post: 02-24-2013, 01:20 PM
  2. One to Many relationship
    By ramindya in forum Access
    Replies: 4
    Last Post: 02-10-2012, 01:59 PM
  3. many-to-one relationship
    By reverze in forum Access
    Replies: 7
    Last Post: 07-14-2010, 10:03 AM
  4. One to one relationship
    By ManvinderKaur in forum Database Design
    Replies: 2
    Last Post: 06-28-2010, 05:37 PM
  5. one to many relationship?
    By cowboy in forum Access
    Replies: 3
    Last Post: 06-16-2010, 02:37 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