Results 1 to 6 of 6
  1. #1
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243

    Linking three tables: Journal, Journal Editor & Issues

    tblJournalEditor
    tblJournal
    tblJournalIssues



    Ideally, all 3 tables would link to each other, but only JournalIssue and JournalTitle are linking and even that looks a little sketchy.

    Journal and journal editor or 1 to 1 relationship, if I understand this clearly. Journal has one title, editor of journal has one name = one to one relationship.
    Journal issues should link to it's respective journal title, ie; one to many since one journal has many issues.
    Click image for larger version. 

Name:	links.JPG 
Views:	13 
Size:	23.2 KB 
ID:	24639

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Journal (title) and Journal issues relationship seems OK.


    If Journal and journal editor (tables tblJournal & tblJournalEditor) have a 1 to 1 relationship, why do you have 2 tables? Shouldn't they be 1 table?

    Can 1 Journal title have many editors?
    Can 1 editor write for many Journal titles?
    If both are yes, you need a junction table.


    What does your data look like? If you try and enter the data into the current structure, does it fit/work?




    BTW, "Number" is a reserved word.......

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    In addition to Steve's comments, I 'd like to see a few sample records and a brief description of WHAT each of these tables represents.

  4. #4
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243
    Thank you Snafu and Orange. I eliminated the 3rd table and set up a junction table. I watched a video that said one to one relationships should not be indexed so, in design view, I set the Index to No on the JournalEditor and JournalTitle tables.
    Click image for larger version. 

Name:	JournalJunction.JPG 
Views:	10 
Size:	25.2 KB 
ID:	24657Click image for larger version. 

Name:	DesignViewJunction.JPG 
Views:	11 
Size:	98.3 KB 
ID:	24658Click image for larger version. 

Name:	JournalTitle.jpg 
Views:	10 
Size:	90.9 KB 
ID:	24659
    Attached Thumbnails Attached Thumbnails JournalTitle.jpg   JournalEditor.jpg  

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I would not have a compound PK field in tblJunctionTitleEditor.
    See last paragraph - "Don't use Primary Keys to Prevent Duplicate Records"
    http://www.fmsinc.com/free/newtips/primarykey.asp


    I would have
    Click image for larger version. 

Name:	Relat1.jpg 
Views:	9 
Size:	17.9 KB 
ID:	24664

    About your picture.....
    You did see the asterisk to the left of the "JournalEditor_ID" (and "JournalTitle") field(s)???? (red circle)

    Click image for larger version. 

Name:	JournalTitle.jpg 
Views:	9 
Size:	68.5 KB 
ID:	24665

    The asterisk means it is a NEW field..... it wouldn't have anything to display until you typed it in.

    I always set the Subdatasheet Name property to "NONE" because I always use forms........

  6. #6
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243
    I'm sorry I didn't provide you with the additional screen shots -- the data fields had been filled in -- that's why I don't understand why it doesn't appear in the datasubsheet. That makes me very concerned that the editor will not match up with the correct journal. As a newbie, I rely on the subsheets to let me know the relationships are as I intended.
    Click image for larger version. 

Name:	JournalEditorFilled.JPG 
Views:	6 
Size:	20.8 KB 
ID:	24666Click image for larger version. 

Name:	JournalTitle_Filled.JPG 
Views:	7 
Size:	23.6 KB 
ID:	24667

    The other thing that is of a concern is there are MANY issues of one particular journal, resulting in duplication of the journal title repeatedly. Almost seems like there should be a table for each journal?

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

Similar Threads

  1. linking up tables
    By charlieb in forum Access
    Replies: 14
    Last Post: 03-18-2015, 09:44 PM
  2. Replies: 4
    Last Post: 04-30-2014, 08:56 AM
  3. Linking Tables
    By label027 in forum Import/Export Data
    Replies: 1
    Last Post: 11-07-2011, 05:16 PM
  4. Replies: 0
    Last Post: 03-04-2011, 10:28 AM
  5. Linking tables
    By jlmnjem in forum Database Design
    Replies: 1
    Last Post: 09-17-2010, 01:36 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