A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

clocking in and out on jobs



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2010, 02:39 PM posted to microsoft.public.access
jana
external usenet poster
 
Posts: 48
Default clocking in and out on jobs

Is there a way to set up a program so an employee can clock his jobs he works
on for the day?
Example:
Joe smith is going to work on part 34556, first he types his employee number
then he types the part # 34556 and hits clock in on job. When he is finished
he repeats the above first two steps & and hit clock out of job, then he move
on to the next job..
  #2  
Old April 22nd, 2010, 04:56 PM posted to microsoft.public.access
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default clocking in and out on jobs

Jana -

Yes, you can do this. Set up a table with fields for the employee number,
the part number, a punch time, and an in_out field. You can add an
autonumber field if you want, but you should set up a unique index on the
employee number and punch time.

Set up your form as you described - two unbound fields for employee number
and part number (you can make these drop-lists if you want), and two buttons
for clocking in and out. The code for the click event of the Clock In button
should run an append query which pulls the employee number and part number
from the form, set the punch time to =Now(), and places "In" in the in_out
field. Do the same for a punch out, but set the in_out field to "Out".

You can make this much more complex by testing for matching in/out records,
etc., but this should get you started.

--
Daryl S


"Jana" wrote:

Is there a way to set up a program so an employee can clock his jobs he works
on for the day?
Example:
Joe smith is going to work on part 34556, first he types his employee number
then he types the part # 34556 and hits clock in on job. When he is finished
he repeats the above first two steps & and hit clock out of job, then he move
on to the next job..

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.