Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    RonL is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Location
    NJ
    Posts
    114
    Quote Originally Posted by orange View Post
    We really need RonL to tell us what he wants. I gave my rationale for my response.
    ..............
    Ajax, thx for the thought but, yes, I really want the junction table as Orange surmises. I want the practice of building a classic many to many situation from ground up (in addition to a small utility app for a specialized purpose (which is not a Cartesian cross)). Thank you Orange for that code. I will study it.

    As I think about it, the automagical generation of the junction table is a silly idea. As I fill in one of the "one to" tables, how is Access to know which row of the other "one to" table is the one I want paired with it?? Guess maybe I was hoping there was some routine similar to Orange's code built into Access itself, but I guess the answer is "no." If there was, you pros would have found it by now

    Thanks everyone for the interesting discussion, -RonL



    EDIT - Yeah when I said "the number of junction rows will be the product of the number of rows of each of the "one to" tables", I should have added "MAXIMUM." Sorry Ajax.

  2. #17
    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,740
    RonL,

    Your
    ...but I guess the answer is "no."
    is correct.
    It's much like the familiar example Students and Courses --the traditional Many to Many.
    Once you have a list of Students, and a list of Courses, you now have to select which Student and Course combinations are real. There's no magic. But you could possibly have some algorithm to help. eg Every Student must take these 3 compulsory Courses etc, but that's about all the magic.

  3. #18
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,445
    EDIT - Yeah when I said "the number of junction rows will be the product of the number of rows of each of the "one to" tables", I should have added "MAXIMUM." Sorry Ajax.
    Ah well, something to remember for another scenario

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 10-22-2022, 08:27 AM
  2. Basic question on table design data type: lookup
    By drspanda@gmaill.com in forum Access
    Replies: 1
    Last Post: 07-17-2014, 07:56 PM
  3. Replies: 3
    Last Post: 12-04-2012, 01:09 PM
  4. Multiple data entry question
    By Appeal in forum Forms
    Replies: 3
    Last Post: 01-06-2012, 11:40 AM
  5. Redundant data entry question
    By mathonix in forum Forms
    Replies: 3
    Last Post: 01-29-2010, 08:54 AM

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