Results 1 to 2 of 2
  1. #1
    eww is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    125

    Suggestions for Time Sheet Layout?

    I'm trying to create a Time Sheet layout where in a form you would enter the EmployeeName, EmployeeNumber, a JobNumber for the job they did work on, and then WorkDate, Hours, etc.



    What I'm trying to do is have all this information stored in a table called tblTimeSheet, but on the form I just want the employee to be able to access their jobs. Right now you can go through all the records that have been entered, regardless of which employee it is.

    I'm also trying to get multiple job work to show up below the fields of entry, whether through a split form or subform, but of course all I get is all the information for every record listed below.

    Would I have to make a seperate TimeSheet table/form for every employee? There's gotta be a better way. Thanks!

  2. #2
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    You can just make Queries off the tblTimeSheet Table. The Queries would have WHERE clauses in them that limit the resulting Recordset to only that employee/Job.

    Limit to a single Employee:
    Code:
    SELECT * FROM tblTimeSheet WHERE EmployeeNumber=1234
    Limit to a single Job by a single Employee:
    Code:
    SELECT * FROM tblTimeSheet WHERE [EmployeeNumber]=1234 AND [JobNumber]=1123
    Once you have those Queries, you can build your Forms and Reports based off of them instead of straight off of the Table.

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

Similar Threads

  1. Print Layout
    By Mxcsquared in forum Forms
    Replies: 4
    Last Post: 10-30-2013, 11:40 AM
  2. Looking for suggestions
    By jonesy29847 in forum Access
    Replies: 4
    Last Post: 07-06-2010, 06:53 PM
  3. Replies: 3
    Last Post: 06-24-2010, 07:18 PM
  4. Replies: 7
    Last Post: 12-14-2009, 04:49 PM
  5. Strange issue with Access 2002 - Any suggestions?
    By mlopezkimco in forum Access
    Replies: 0
    Last Post: 07-30-2008, 09:25 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