K
Keith
I have a table containing two fields; Employee ID and Time stamp, respectively.
Let's say the table contains the following values:
Emp ID Time Stamp
------- ------------
1001 1/1/2010 09:00
1001 1/1/2010 12:00
1001 1/1/2010 13:30
1001 1/1/2010 17:00
The data reflects that employee #1001 has clocked-in at 09:00 am and
clocked-out at 12:00pm. The employee has clocked-in again at 1:30 pm and
finally clocked out at 5:00 pm.
Since the data was generated using Employee ID card, there is no separate
time-in and time out field.
How can I query the table so that I can have something similar to the
following results:
Emp ID Time-in Time-out Total
Time Worked
------- ----------------- -----------------
--------------------
1001 1/1/2010 09:00 1/1/2010 12:00 03:00
1001 1/1/2010 13:30 1/1/2010 17:00 03:30
------------------------------------------------------------------------
Total
06:30
I am somewhat new to Access and Thank you in advance for your help!
Keith
Let's say the table contains the following values:
Emp ID Time Stamp
------- ------------
1001 1/1/2010 09:00
1001 1/1/2010 12:00
1001 1/1/2010 13:30
1001 1/1/2010 17:00
The data reflects that employee #1001 has clocked-in at 09:00 am and
clocked-out at 12:00pm. The employee has clocked-in again at 1:30 pm and
finally clocked out at 5:00 pm.
Since the data was generated using Employee ID card, there is no separate
time-in and time out field.
How can I query the table so that I can have something similar to the
following results:
Emp ID Time-in Time-out Total
Time Worked
------- ----------------- -----------------
--------------------
1001 1/1/2010 09:00 1/1/2010 12:00 03:00
1001 1/1/2010 13:30 1/1/2010 17:00 03:30
------------------------------------------------------------------------
Total
06:30
I am somewhat new to Access and Thank you in advance for your help!
Keith