Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33

    LOL. I wish it stood for Bad Axe. I have been working with Access for 17 yrs, but I never really had to do this. I have been watching video's for two days and I know what they are saying but not able to do it. I have my tables, but I'm not sure how to get them to do what I need them to do. I have two tables, one is a list of employees, and the other is a list of equipment. Each employee has to be signed off on each piece of equipment by a certain date. First, I don't know what table to put this date in or if I should create a 3rd table for just the date. I have tried that, but it didn't work. This is what I want my end result to be. A report for each employee with each piece of equipment and the date they need to be signed off on it by. I don't even know if this is possible. When they do get signed off on it, I will then have to go back in and change that date by adding 1 year. i.e. sign off by 9/2/15 will change to 9/2/16. Do you think it is possible that I could create such reports?

  2. #17
    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
    As Steve mentioned, it seems you need 3 tables (I'm guessing a little at the requirements).

    You have Employees, and Equipment. Each Employee has to be Certified on a Piece of Equipment. The Certification is valid for a period of time (1 year).

    tblEmployee
    EmployeeID PK
    EmployeeFirstName
    EmployeeLastName
    other employeeinfo

    tblEquipment
    EquipID PK auto
    EquipName
    other Equip Info

    tblEmpCertifiedOnEquip (junction table)
    EmpID FK to tblEmployee
    EquipID FK to tblEquip
    CertificationDate Date/Time
    CertificationComment " possible field for comment or note

    You can have
    -a composite PK of EmpID EquipId and CertificationDate OR
    -( an autonumber PK EmpEquipCertificationID and
    a composite unique index to prevent duplicates composed of
    EmpID EquipId and CertificationDate.)

    Table relationships:
    tblEmployee---->tblEmpCertifiedOnEquip<---tblEquipment

    You could model this set up and test it with some test data (pencil and paper is fine).

    Post back if there are questions. Note, I may have mis-guessed your requirement(s).

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    The suggested structure presumes record is added to tblEmpCertifiedOnEquipment at the time employee completes certification. Or enter a record for every employee/equipment combination and leave the CertificationDate field empty until certification takes place. Either way, determining which employees have not been certified or whose last certification is expired can be derived through queries of these tables.

    Now the question is do you want to maintain history of certifications? Or will you have just one record for each employee for each equipment and edit the CertificationDate value?
    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.

  4. #19
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33
    I would like to just edit the certification date. I can add new employees or equipment but I just want something that I can go into monthly and update with new dates after they get certified.

  5. #20
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33
    All that should work, as long as I set up the Junction Table correctly. I better watch a video on that. thank you.

  6. #21
    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

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

Similar Threads

  1. Access 2010 login to connect to linked tables
    By Back2Access in forum Security
    Replies: 3
    Last Post: 02-13-2015, 10:45 AM
  2. Replies: 1
    Last Post: 03-07-2013, 03:21 PM
  3. Replies: 0
    Last Post: 03-28-2011, 11:05 AM
  4. Replies: 27
    Last Post: 10-17-2009, 10:58 AM
  5. Replies: 5
    Last Post: 03-29-2009, 07:20 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