Results 1 to 6 of 6
  1. #1
    Enzym is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    3

    Designing the tables and relations

    Hi! I am pretty rusty at designing access databases, haven't done it since school at least 15 years ago.
    I am now trying to design a database for handling personnel. I need to have personnel data, their position/rank, and then the courses/training required for each position, and what courses they have taken.

    Tried starting out with the classic order management design, but cannot wrap my head around it.

    I want to end up with a form (with a subform, i guess), that shows all the persons details (name, phone, mail, etc), the persons position/rank, what courses that are mandatory, and what courses that are completed. If the person changes position, the mandatory courses should change to match correspondingly, but the ones already taken should be listed.



    I split the data into a table with personal details, one with rank, one with positions (with relations and foreign keys, so far so good), but ran into trouble when trying to figure out how to solve the course-problem.

    Any input and tips are greatly appreciated, so I can keep the rest of my hair..

    Thanks, Enzym

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Suggest a table that relates positions with courses. Then another table that documents courses taken by each person.
    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
    Enzym is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    3
    Something like this, or am I lost ?

    Click image for larger version. 

Name:	ER.jpg 
Views:	18 
Size:	48.0 KB 
ID:	19067

  4. #4
    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,726
    See if the diagram here is helpful.

  5. #5
    Enzym is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    3
    It seems pretty helpful, but I am still a bit lost what to do next, in order to have a form with "employee" data, with subforms showing what courses are required for the current selected position for that person, and which ones he/she has completed. (And later on a report showing all required courses not taken, for all "employees"..)

  6. #6
    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,726
    Start with your tables and relationships. Don't have embedded spaces in your field names.
    Forms will come later. The key is to get your tables designed to meet your needs.

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

Similar Threads

  1. Relations tables
    By azhar2006 in forum Access
    Replies: 6
    Last Post: 08-03-2014, 02:29 PM
  2. Replies: 3
    Last Post: 03-06-2013, 02:33 PM
  3. Combining tables and keeping relations
    By Bangsadrengur in forum Access
    Replies: 7
    Last Post: 07-28-2011, 08:12 AM
  4. Help with Designing Tables
    By lspelman in forum Database Design
    Replies: 3
    Last Post: 05-07-2011, 01:48 PM
  5. Help Designing Tables
    By sakthivels in forum Database Design
    Replies: 7
    Last Post: 06-09-2009, 07:48 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