Results 1 to 4 of 4
  1. #1
    Counfounded is offline Novice
    Windows 8 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    2

    Form using checkboxes to link 2 tables

    Good day,


    I am struggling creating a form that let's me do what I am trying to do. Here is my situation. If anyone can help, it would be much appreciated.

    I have 3 tables.
    tbl_school
    tbl_course
    tbl_school_course_Joint

    I would like to create a form that looks lie the one below that would allow me to specify which school offers which course. Of course, as the list of schools and courses grow, the form needs to reflect this. Any ideas?

    Click image for larger version. 

Name:	Form.GIF 
Views:	10 
Size:	10.0 KB 
ID:	30475

    School.accdb

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Could do this but then need lot of code to pass data back and forth between tables and unbound form. And every time you add a school or a course, have to modify table/queries/forms/reports and maybe even code. And could eventually have too many schools and courses to fit the form. Forms do have limited length and width. Recommend not doing this. Path to insanity. Build a normalized data structure (which you appear to already have) and input data via appropriate data entry forms. Then if you want to output data to display in that structure, manipulate data - but again, report design also has limits of width and length.
    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.

  3. #3
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    I think many would use a form/subform design, with school data at the top and related courses in the subform. Could use a split form as well I suppose, but I'm not a big fan of them. New courses created or no longer offered - what you'd have to do is redesign the form, which is poor practice. Your idea doesn't allow you to show that a course that is no longer offered in School A ever was.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Counfounded is offline Novice
    Windows 8 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    2
    Many thanks to both of you for this answer. I'll have to figure out a different way of doing this.

    Have a nice day!

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

Similar Threads

  1. Replies: 9
    Last Post: 05-30-2017, 01:49 PM
  2. Two tables link on a form
    By chessico in forum Forms
    Replies: 6
    Last Post: 07-21-2013, 10:08 PM
  3. Cant Get Form to link to tables
    By jimbob90 in forum Access
    Replies: 6
    Last Post: 07-31-2012, 05:32 PM
  4. Replies: 2
    Last Post: 04-29-2012, 02:22 PM
  5. Link Multiple Tables to One Form
    By kristyspdx in forum Forms
    Replies: 2
    Last Post: 04-02-2012, 05:04 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