Results 1 to 6 of 6
  1. #1
    Lord-Vivec is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    5

    Having multiple Master/Chield Fields linked in one overview

    Dear all,

    I have been building my first ever database which is basically a case tracking database to be used by court monitors. It's a redesign of the "Issues" database. The "Contact Details" form in this database has the option to see the "Assigned Issues" sub form, which I remodelled so it shows the cases the Judges/Prosecutors/Defendants/Monitors (basically four different versions of the original "Contact Details" for) have been assigned to. This is working fine if only one Judge/Prosecutor/Defendant would be assigned per case.

    The problem I am facing is that the original database did not foresee the possibility of having more than one individual working on an issue, whereas the cases in this database of course feature multiple judges and prosecutors and defendants. In the case table I have used a structure where you can pick Judge1, Judge2, Judge3, Defendant1, Defendant2 per case, all linked to their own tables. In the form however, I don't want to use separate tabs for the Judge1, Judge2, Judge3 input; when a Judge's "Contact Details" form, "Assigned Issues" tab is opened, it should show all cases assigned to this judge, regardless of whether the entry is in the cases table's Judge1, Judge2, or Judge3 field. I however cannot link the Master Field "ID" to the multiple Child Fields "Judge1, Judge2, Judge3," etc, and the only work-around I can think of is to create a different tab for each Child Field. See a screenshot of the Issues DB attached for illustration. Anyone knows a work-around for this? Thanks!

    Click image for larger version. 

Name:	Assigned Issues.png 
Views:	16 
Size:	131.2 KB 
ID:	30343

  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,772
    Never more than 3 judges or 2 defendants?

    Perhaps use VBA to set the Child Links property.
    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
    Lord-Vivec is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    5
    Quote Originally Posted by June7 View Post
    Never more than 3 judges or 2 defendants?

    Perhaps use VBA to set the Child Links property.
    Up to 9 defendants and 6 different judges. I could bypass this restriction through VBA?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Review the info at some of these links. Work through 1 or 2 of the tutorials.

    Since this is your first database, get familiar with some concepts entities/relationships/normalization...
    Write a description of the business you are trying to support with this database --it will help you clarify your thoughts.
    Build a model with pencil and paper; create some sample data and scenarios, then test your model.
    Reconcile every anomaly; adjust whatever is causing the issue and retest.
    Bounce your model and scenarios with colleagues to ensure something hasn't been overlooked.
    Once the model is working, you have a blueprint for your database.

    Too many people think Access is going to design and build the database--- it doesn't work like that.

    Think about these:
    - you're going to build a new shopping centre --do you start excavating and constructing, or do you get the facts--building codes, permits, artists concept of proposed building.... plans, tasks...
    -you're going to build a new airplane --(797)-- do you start by welding/riveting/gluing some physical aluminum pieces together, or do you do the analysis, market study, feasibility, design, review and accept a design, update a build schedule, get approval and resources.....


    Building a database to support a business is not a whole lot different. It's a project and could be critical to the viability of the business. It isn't something you build by trial and error.

    Good luck.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Bing: Access vba master child link
    https://stackoverflow.com/questions/...form-in-access

    Really should reconsider the db structure. Someday you will run into a case having more judges and/or defendants than you have fields for.
    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.

  6. #6
    Lord-Vivec is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    5
    Thank you for the helpful links and the tutorials! Will certainly look into restructuring; the thing is that there's a tight deadline for an alpha version, so I will probably release it with limited functionality and then see whether its manageable to use junction tables instead for the next versions. It's a learning process so really appreciate the links!

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

Similar Threads

  1. Replies: 2
    Last Post: 03-31-2017, 08:40 AM
  2. Replies: 4
    Last Post: 07-11-2016, 01:11 PM
  3. Replies: 1
    Last Post: 08-11-2014, 11:25 AM
  4. Replies: 3
    Last Post: 11-24-2013, 06:59 PM
  5. Replies: 6
    Last Post: 09-14-2013, 05:59 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