Results 1 to 2 of 2
  1. #1
    MGF23 is offline Novice
    Windows 8 Access 2013 32bit
    Join Date
    Jan 2018
    Posts
    5

    Join/junction table use here?

    Hi all,

    I have a list of 10 departments. For each department I have a list of known associated defects that can occur in these departments. However, now and again a new defects may occur that will eventually need added to my list of defects.



    Regarding my database form: I’m not sure if it is best to have a list of departments in one combo box and a second combo with a list of all possible defects. This way does not seem very refined and probably not user friendly if the user has to scroll through 200 odd defects hoping to find one defect entry that best matches.

    It would make more sense to select the department first and then have access make only the defects common to that department available in the second defect combo box.

    Would a join table between departments and defects be used here? If so could someone give me a quick overview regarding the keys? From what I have been reading my related tables look like this:

    [Tbl defects] ...........[JNT_Defects_depts] .........[TblDepts]
    DefectID (pk) ........DefectID(fk).................. DeptID (pk)
    Defect name ............Deptid(fk) ........................Dept name
    Defectid(fk)

    I'm not sure how updatable this would be if i need to assign a newly discovered defect to a department whilst in form-view?

    Thanks for your time - any pointers greatly appreciated

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    If, as seems likely, a defect can occur in more than one department, you do need a junction table as described.

    Scrolling through 200+ records isn't practical
    I would definitely have two cascading combo boxes in your form.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. How to use a Junction table
    By gwboolean in forum Access
    Replies: 17
    Last Post: 09-15-2017, 03:06 PM
  2. Replies: 13
    Last Post: 05-10-2017, 12:43 AM
  3. Junction Table Help
    By blkane in forum Database Design
    Replies: 5
    Last Post: 10-19-2014, 11:58 AM
  4. Junction Table
    By troachjr in forum Database Design
    Replies: 1
    Last Post: 03-08-2013, 02:10 AM
  5. Junction Table
    By snowboarder234 in forum Access
    Replies: 11
    Last Post: 04-18-2012, 09:31 AM

Tags for this Thread

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