Results 1 to 4 of 4
  1. #1
    alpinegroove is offline Competent Performer
    Windows XP Access 2002
    Join Date
    Jan 2011
    Posts
    114

    Combo Boxes - Many-to-Many

    Is it possible to use a form similar to the attached snapshot with combo boxes? Currently these fields are simple text boxes.

    Can the fields under Instructor, TA, TA2, and Reader be turned into drop down menus that display all faculty members listed in tblPeople?

    I have the following tables:
    tblPeople


    tblRoles
    tblCourses
    tblCoursePeopleRoles (junction table for the many-to-many relationship).

    Or would the design of the form have to change to accommodate the use of combo boxes?
    Would would be the best way to set this up?
    I basically need a form that will allow me to designate which faculty be holding which role for each course.

    Thank you.

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Yes that would make perfect sense.

    If I may state an opinion, the table design maybe needs to be a bit more normalized.

    Courses tbl - title, type, cap
    People table - names of faculty
    TA (whatever that is) - joined to the Peoples table
    Lectures table - joined to courses table, including date/time, etc
    Don't know where/how discussion fits in

    One key item of normalization is to never repeat information (except keys/joins). Your instructor list and your lectures/discussions will then both be subforms.

  3. #3
    alpinegroove is offline Competent Performer
    Windows XP Access 2002
    Join Date
    Jan 2011
    Posts
    114
    More information about the data model:

    tblPeople
    1, Johnson, Mike
    2, Davids, Mary

    tblRoles
    1, Instructor
    2, Teaching Assistant
    3, Reader

    tblCourses
    1, Baking 101
    2, Carpentry 200
    3, Marketing Basics 1

    tblCoursePeopleRoles (Field Order: Course, Person, Role)
    1, 2, 1 (Baking 101; Davids, Mary; Instructor)
    1, 2, 3 (Baking 101; Davids, Mary; Reader)
    3, 1, 1 (Marketing Basics 1; Johnson, Mike; Instructor)
    3, 2, 2 (Marketing Basics 1; Davids, Mary; TA)

    Is this not normalized enough?

    My main question had to do with whether the form in the snapshot, which is the form we used with a non-relational db, can be used with this model as well, and if so, how.

    Thanks for your reply.

  4. #4
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Courses - combo box
    Instructors - you only have space for two - if that is correct, then just change them to combo boxes, otherwise if more are required you can make it a subform

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

Similar Threads

  1. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Combo boxes
    By seanh3 in forum Forms
    Replies: 2
    Last Post: 07-20-2011, 10:39 AM
  3. Combo boxes
    By Nixx1401 in forum Forms
    Replies: 1
    Last Post: 07-19-2010, 06:07 AM
  4. Using Combo Boxes
    By geoffwbailey in forum Programming
    Replies: 1
    Last Post: 06-21-2010, 10:08 AM
  5. combo boxes
    By thewabit in forum Forms
    Replies: 7
    Last Post: 01-01-2010, 08:51 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