J
JG
I have inserted 2 lines of data from a TimePro timeclock database. The first
line reflects the 1st half of an employee's shift. The 2nd line reflects the
2nd half of the shift. The time between the 2 shifts equates to a meal
break.
Here's the question.... How would I write a query to determine the lenght
of the meal break. The purpose for this question is that I want to ensure
that everyone working more than 6 hours and takes a meal break takes at least
30 minutes (labor law).
Since the data is on two different lines within the database, this is where
I am having the difficulty. By the way, I am able to covert these time
stamps to just dates and time of day.
LastName FirstName PaidIn PaidOut
Alejandro James 5/16/2008 3:03:00 AM 5/16/2008 8:38:00 AM
Alejandro James 5/16/2008 9:38:00 AM 5/16/2008 11:10:00 AM
line reflects the 1st half of an employee's shift. The 2nd line reflects the
2nd half of the shift. The time between the 2 shifts equates to a meal
break.
Here's the question.... How would I write a query to determine the lenght
of the meal break. The purpose for this question is that I want to ensure
that everyone working more than 6 hours and takes a meal break takes at least
30 minutes (labor law).
Since the data is on two different lines within the database, this is where
I am having the difficulty. By the way, I am able to covert these time
stamps to just dates and time of day.
LastName FirstName PaidIn PaidOut
Alejandro James 5/16/2008 3:03:00 AM 5/16/2008 8:38:00 AM
Alejandro James 5/16/2008 9:38:00 AM 5/16/2008 11:10:00 AM