Results 1 to 7 of 7
  1. #1
    shelbsassy is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    6

    Talking Help with Table Design for Employee Task Database

    Hello,
    I am fairly new to Access and have been trying to create a relatively simple database that will track how many hours employees spend on a specific task. Each employee has a billing rate so for the task I would need a calculation (hours * rate).



    I have tried a few templates but nothing seems to work or when I try to customize it, I break something. Ive done a lot of online reading for the last month on this and just bought a huge Access book, but I am wondering if someone can tell me if I am on the right path.

    These are my tables:
    Employee Table with EmpID, EmpLastName, EmpFirstName, EmpRate
    Task Table with TaskID, TaskName

    I need a Form where I select the Employee and enter the date, select the Task from the List, enter the number of hours, and it will calculate automatically the cost based on that Employee's billing rate.

    I'm trying to figure out the WorkDone table that will link everything together and store the data that is input into the form.

    I was thinking EmpID, TaskID, Date, Hours, Cost

    Would a join from Employee to WorkDone and a join from Task to Work Done work? How does the data that is entered into the form get into a table?

    Any guidance would be appreciated. Thank you!

    Shel

  2. #2
    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
    Take a look at this one.
    http://www.databaseanswers.org/data_...home/index.htm

    Change the Project to Task, and you could drop the Addresses and possibly others.
    What do you need that isn't ther?

  3. #3
    shelbsassy is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    6
    Thanks for the link, that looks great! I guess what I am trying to figure out is how the input data gets written to a table. I was thinking I have a new table called WorkDone which would have the fields EmpID, TaskID, Date, Hours, Cost but I don't know how to get that updated.

  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
    What data do you have?

    WorkDone is determined via Table Employee_On_Project
    You will need info for
    Employees and Tasks(Projects)

    How did you see Employees recording their time ( what process??)

  5. #5
    shelbsassy is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    6
    Thank you for your quick response. This is how I envision it:
    I have a form with Employee Name (concatenate EmpFirstName and EmpLastName) as a drop down. When the employees name is selected, in a box called Rate, the Employee's Rate automatically populates. Then there is a dropdown box with the TaskName in it, a box for the date the work was done, and then a box to input how many hours was spent on a task. Then there would be a box that calculates the hours worked on that task by the employees rate. Then the user clicks an Update button or something like that to commit to another (?) table. This table I was thinking was called WorkDone which would hold the EmpID, TaskID, WorkDate, and Cost (the calculation from Employees rate x Hours on that task).
    Does that make sense?

  6. #6
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    I'm trying to figure out the WorkDone table that will link everything together and store the data that is input into the form.

    I was thinking EmpID, TaskID, Date, Hours, Cost

    Would a join from Employee to WorkDone and a join from Task to Work Done work? How does the data that is entered into the form get into a table?


    I think you're on the right track here. Create your work table the way you envision it. If you use the lookup wizard in the table when you add the EmployeeId and TaskId fields, you can link back directly to those tables.

    You can create a new form based on this new table and these lookup fields will automatically be created as combo boxes. You can use either the bound form that is the default or you can turn it to an unbound form. The unbound form method will require a fair bit of coding to make your record updates.

  7. #7
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    To populate the rate box on your fomr will require a bit of code, but not too much. Let me know when you reach that point and I'll help you.

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

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. Creating a Database to track Employee Training
    By osolaru in forum Database Design
    Replies: 9
    Last Post: 08-25-2011, 01:29 PM
  3. Database Design
    By shutout14cf in forum Database Design
    Replies: 10
    Last Post: 12-20-2010, 11:04 AM
  4. Quit/Terminated Employee Table
    By mwabbe in forum Access
    Replies: 6
    Last Post: 09-24-2010, 02:37 PM
  5. Employee Attendance database
    By oxicottin in forum Database Design
    Replies: 0
    Last Post: 02-14-2007, 02:58 PM

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