Results 1 to 3 of 3
  1. #1
    stoey is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7

    record time based on option using textbox

    hi there,



    I am new to programming access and I need some learning from the experts to start with. I am creating a very simple break tracking program which will record the time INs and OUTs of an employee based on the option entered. This is how my program should work. User enters employee ID. If ID has match, append record. User then enters an option from 1 to 3.... 1 -Break1, 2 -Break2, 3 -Break3. If user enters 1 in the option area for the FIRST TIME, Break1IN would be recorded. If user enters 1 for the SECOND TIME, Break1OUT would be recorded. Break1TOTAL from the table is the total break time consumed say if the employee's Break1 is 07:00 PM and Break1 is 07:30 PM then Break1TOTAL should display 00:30 minutes. I know this sound complicated but basically this is just about record appending and time recording. I hope someone can help me as I was advised that this is the only forum where responsive experts are to be found. Thanks in advance. File attached is the sample program I am in need of help.

    Regards, stoey

  2. #2
    stoey is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7
    is there any help i can get here related to my problem? I hope somebody will notice...

  3. #3
    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,725
    I looked at your database. This is not the structure you need.
    I'm sure you could force it to work, but when you have fields like Break1 and break2...
    you are heading for problems. Getting you table structures and relationships set up is key to making your "system" run smoothly.

    Do a little googling/reading on Normalization.

    Here are a couple of links that you may find helpful.

    The first 3 topics here should get you started.
    http://www.rogersaccesslibrary.com/forum/topic238.html

    Good reference for best practices and tips.
    http://www.accessmvp.com/strive4peace/

    Here is a model for Employee Leave Recording/Reporting. I know it is much broader in scope than your program,
    but it may help show how the "pieces" fit together.
    http://www.databaseanswers.org/data_...ping/index.htm

    Good luck.

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

Similar Threads

  1. Replies: 8
    Last Post: 07-06-2013, 05:13 PM
  2. Replies: 1
    Last Post: 12-20-2010, 02:22 PM
  3. Replies: 6
    Last Post: 12-02-2010, 02:43 AM
  4. Replies: 2
    Last Post: 09-17-2010, 09:53 AM
  5. Replies: 3
    Last Post: 02-10-2010, 07:29 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