Results 1 to 3 of 3
  1. #1
    mr3sn is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    2

    Table with more relations...

    Hello all,



    Recently started my own small company supplying gasdetectors and using access 2010 to build up a customer database.
    At the moment I have one company-table with general company details. Second table for the employees, related to company-ID
    Third table is for instruments delivered, also related to company-ID.

    Now I want to indicate for each instrument which employee is responsible. It can happen that within one company different employees are responsable for different instruments.
    Is this possible to do this with relations or should I do this in another way ?

    Any comment is welcome!

    BR, Dries

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    If each employee is only responsible for one instrument you can add it to your employee table.

    If each employee can be responsible for multiple instruments you'll want another junction table that has it's own PK, the employeeID and the InstrumentID

  3. #3
    mr3sn is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2013
    Posts
    2
    Thanks for your reply. Now I related the instruments to the employee table instead of to the company.
    On question left is now when aan employee with more related instrument will leave the company.
    How to easy relate all the instruments to another employee ??

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

Similar Threads

  1. Confusion with table relations
    By BusDriver3 in forum Database Design
    Replies: 13
    Last Post: 08-21-2011, 01:48 PM
  2. table relations & primary key
    By mwabbe in forum Access
    Replies: 9
    Last Post: 08-19-2010, 10:09 AM
  3. Replies: 1
    Last Post: 04-14-2010, 08:02 PM
  4. Replies: 3
    Last Post: 04-12-2010, 02:16 PM
  5. two relations to one table?
    By kannuberg in forum Forms
    Replies: 19
    Last Post: 09-27-2009, 11:25 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 - Senior Forums