Results 1 to 5 of 5
  1. #1
    helix is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    2

    Question Need Help With Design of multiple choices for repeated field

    I am wanting to find a smooth, efficient way to design the controls for the following task:



    Lesson - this is a field that has a choice of names for various lessons
    Such as Attention, Communication, Focus, etc

    Concepts - there are 10 concepts from which to choose

    Each lesson will have 4 or 5 concepts that are covered in the lesson

    What would be the best design for the form for the user to choose which 4 or 5 concepts are covered in a given lesson?

    Example: Lesson = Communication
    • concept #1 is chosen
    • concept #4 is chosen
    • concept #5 is chosen
    • concept #8 is chosen
    • concept #9 is chosen
    I could use 5 combo boxes but that seems really clunky. And using 5 combo boxes doesn't allow for that time that someone decides they really need 6 concepts listed for a given lesson.

    I thought of a group of yes/no checkboxes, one for each concept. But I want to have it so the number of available choices for the concepts can be expanded at any time. A group of checkboxes would not allow for that.

    Thank you for any suggestions you have!

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    Can you post a picture of your tables and relationships?

  3. #3
    helix is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    2

    Picture of Tables and Relationships

    Right now there are two separate tables: Lessons and Concepts. They are not yet related because I haven't decided how to do that.

    What I think I will do is add fields to the Lesson table:
    concept1
    concept2
    concept3
    concept4
    concept5
    But again, that limits me to only 5 concepts.

    I thought of a combined table: LessonConcept in which I can have an infinite number of concepts
    Table LessonConcept:
    LessonConceptID
    LessonID
    LessonName
    ConceptID
    ConceptName
    This table would then be linked to Lesson table via LessonID and to Concept Table via ConceptID.

    I haven't done this yet but there is likely where I am headed.

    Helix

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    A suggestion. 3 tables.

    Lessons Table ----- LessonHasConcept Junction Table --- Concepts Table

  5. #5
    DianeG is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    16
    I would put all the choices possible in a subtable, refer the field in the main table to that subtable so that you have a drop down for that field and you can make the drop down so they can choose as many answers as they want by turning on the Allow Multiple Values. You can always add more choices to the subtable if you need more. See the Sample database that I attached.

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

Similar Threads

  1. Multiple Choices for Parameters with VBA and Queries
    By weasel7711 in forum Programming
    Replies: 3
    Last Post: 02-02-2011, 09:19 AM
  2. Hi, How do we avoid repeated records?
    By radicrains in forum Queries
    Replies: 11
    Last Post: 11-04-2010, 03:00 AM
  3. Repeated rows in query-form
    By astraxan in forum Forms
    Replies: 2
    Last Post: 05-23-2010, 10:25 PM
  4. Combo Box without repeated values
    By SCFM in forum Access
    Replies: 2
    Last Post: 02-20-2010, 05:57 PM
  5. Best Design for Multiple Y/N Questions on each record
    By DanielHochman in forum Database Design
    Replies: 0
    Last Post: 07-20-2009, 02: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