Results 1 to 8 of 8
  1. #1
    amongangels is offline Novice
    Windows 11 Access 2016
    Join Date
    May 2025
    Posts
    2

    Database to track multiple subsidiary companies- Please help!

    I am trying to create a database that will track company information.



    Some of the specifics to be considered:

    1. My company has over a hundred subsidiary companies across the globe.
    2. Each company has either Officers, Directors, Managers, or any combination of those.
    3. An individual that is an Officer, Director, or Manager of one company can also be an Officer, Director or Manager of any number of our other companies.

    I am attempting to capture as much information for each company as I can that I can add by form and generate a subsequent report.

    So far, I have tables for Company, People & Roles. I thought about creating a table for jurisdictions, but not sure how I would connect one company to several different jurisdiction.

    Some of my questions (besides the issue in the previous paragraph :

    -Can a form be connected to more than one table?
    -Does a report have to contain the same information as the form, or can it be pared down to only contain certain fields?
    -After someone helps me figure out this tangled little web, can I come back to beg for help with relationships and queries next?

    I appreciate any knowledge that you are willing to share.

    Thank you in advance, Angel.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You are describing many-to-many relationships. This requires 3 tables.

    As example:
    A company can have multiple jurisdictions and each jurisdiction can apply to multiple companies.
    Tables needed would be Companies, JurisdictionTypes, CompanyJurisdictions.
    CompanyJurisdictions is a "junction" table that will contain records associating companies and jurisdiction types.

    Generally, a form is to enter/edit data for one table. Use form/subform arrangement for data entry into related tables. Example being Orders as "parent" and OrderDetails as "dependent" where user would select product(s). This arrangement represents at least 4 tables: Suppliers, Orders, OrderDetails, Products.

    Report can contain whatever data you want, not defined by form.

    Ask as many questions as you want.
    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
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    564
    So what if you add ParentCompanyID and make it optional (default null)?

    One of the fun parts of this is that Abscess doesn't have hierarchies. You have to drill into them yourself. When I did it back before pollution, I was doing something a little bit simpler maybe (but very similar) I had a list of courses and a list of prerequisites for those courses (NextCourseID, RequiresCourseID), and I added a "level" column to the Course table and then did something like this:

    1. find all the courses with no prerequisites... SELECT CourseID FROM Course c LEFT JOIN Prerequisite p ON c.CourseID = p.NextCourseID WHERE p.NextCourseID IS NULL (I think you could just do WHERE NOT EXISTS and use a correlated subquery, but ...)
    2. Mark those as Level = 1.
    3. Find all courses where all the prerequisite courses are in the Level = 1 group. Those are level 2... lather rinse repeat until you run out of courses.

    Each company may have a parent company. Any without a ParentCompanyID would be the "owning"/"Top" company. then you'd just walk down the tree.

    In that big boy pants database, SQL Server, you can use hierarchies and recursive CTEs to solve this kind of thing. (I asked about the courses question a million years ago... my post is still there.)

  4. #4
    jojowhite's Avatar
    jojowhite is online now Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    433
    If you have a Big Company and have many subsidiaries world-wide, why bother with this.
    just hire an expert and be done with it.

  5. #5
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,929
    Who will be using this app? A few people? Hundreds of people? One location? Many locations? In one country? Many countries?

    it may be access is a suitable app to use, perhaps with sql server or azure- or maybe not - depends on what your userbase will be

  6. #6
    amongangels is offline Novice
    Windows 11 Access 2016
    Join Date
    May 2025
    Posts
    2
    Quote Originally Posted by CJ_London View Post
    Who will be using this app? A few people? Hundreds of people? One location? Many locations? In one country? Many countries?

    it may be access is a suitable app to use, perhaps with sql server or azure- or maybe not - depends on what your userbase will be
    I will be the only person using the database, in one location.

  7. #7
    xps35's Avatar
    xps35 is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2022
    Location
    Schiedam, NL
    Posts
    299
    I suggest a structure like this:
    Click image for larger version. 

Name:	CPR.jpg 
Views:	30 
Size:	23.3 KB 
ID:	53061
    Groeten,

    Peter

  8. #8
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Be careful, some years ago we had the same idea of tracing companies and people, but the legal department stopped the project because of legal consequences (privacy rules). We could only retain information about customers and had to ask the consent of individuals working for those companies.

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

Similar Threads

  1. Replies: 7
    Last Post: 09-18-2021, 08:05 PM
  2. Replies: 3
    Last Post: 08-18-2017, 07:26 AM
  3. Replies: 14
    Last Post: 03-21-2017, 07:00 AM
  4. Multiple Companies Same Invoice
    By mikajake in forum Database Design
    Replies: 3
    Last Post: 02-28-2013, 01:39 AM
  5. Deploy same split database to different companies
    By Lowell in forum Database Design
    Replies: 7
    Last Post: 02-24-2013, 08:50 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