Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Minty is online now VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    You don't need any of that information stored in the Manager info table - you can get that all from your employee table.
    You simply need the EmpID , the Managers EmpID, and the Level 2 Managers EmpID. Just because they are a manager doesn't mean they end up with a different email or phone number does it?

    And if that changes you have to update all those fields, twice, rather than simply changing the ID you have stored.



    If the level 2 manager is always the managers' manager this is superfluous.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  2. #17
    rthom9 is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2019
    Posts
    9
    The issue is how often the managers move around (so level 2 managers do change). I can see the value of having it all in one table, however. So I will have one table listing all employees (including managers), with the linked manager ID in a field for the employee. However, if my second table stores the employee ID and both level of manager's ID, wouldn't I need to update them both anyways?

    So first table would have something like:

    Emp ID Emp Name Emp Email Emp Job Title Emp Email Manager ID



    And second table:

    Emp ID Mgr ID Lvl2Mgr ID




    Or, would I only store IDs in the second table, and remove from the first? (Don't know how I'd link them, if that's the case.)

    I'm sorry. This is really my first foray into VBA and I just want to make sure I'm not messing it all up.

  3. #18
    Minty is online now VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    Yes you have the jist of it, you need to decide if you need the second table.
    If you do then it's pointless storing the manager ID in the main employee record. Just use the second table.
    If not then the MangerID in the main employee data is all you need.

    E.g. if a employee can have two managers, or that the management chain is such that;
    Burt and Fred report to John. John reports to Harry. However for Burt the second level manager is Tom, whereas Fred's 2nd level is Harry.
    The above seems highly unlikely to me, but that is what the second table allows for.

    The fact that the managers change frequently is immaterial, as long as the hierarchy is such that, the management chain is always employeeŽmanagerŽmanagers manager, and there is no violation of that then you don't need the second table. You will still need to update your system in one place or the other.
    With the single hierarchy it's much easier, only one record to update.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 02-21-2017, 08:25 AM
  2. Replies: 4
    Last Post: 10-29-2014, 03:49 PM
  3. Can't trigger VBA code on form load
    By wardw in forum Programming
    Replies: 2
    Last Post: 08-30-2013, 12:58 PM
  4. how to trigger a button event at same form
    By newaccess in forum Forms
    Replies: 10
    Last Post: 03-01-2013, 10:02 AM
  5. Replies: 0
    Last Post: 03-11-2010, 02:11 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