D
Dave S
I am creating a small database to collect labor information on a job by job
basis. I will have the operators logging information into the database using
a barcode scanner. The information collected will be: Operator ID, Job
Number, Status (i.e., start or end). The input form will automatically add
the date/time that the information was entered into a seperate field. That
way it will be like a starting and ending "punch" on a time clock.
I can easily select records from a specific Job Number in a query. What I
am having trouble with is how to calculate an elapsed time based on the time
stamps in the filed of different records in the database.
In it's most simple form a job would have only two "punches" which would
create two records in the database. These two records would be the time that
work on the job was started and the time that work on the job was ended. I
need to be able to calculate the amount of time spent on that job.
The only variation from this would be if multiple "punches" would take place
on any one job. This is a very likely situation because of break times,
lunches, and jobs that may span several days or have multiple operators
working on the same job.
Can someone help me figure out how to do these calculations please??
Thanks
basis. I will have the operators logging information into the database using
a barcode scanner. The information collected will be: Operator ID, Job
Number, Status (i.e., start or end). The input form will automatically add
the date/time that the information was entered into a seperate field. That
way it will be like a starting and ending "punch" on a time clock.
I can easily select records from a specific Job Number in a query. What I
am having trouble with is how to calculate an elapsed time based on the time
stamps in the filed of different records in the database.
In it's most simple form a job would have only two "punches" which would
create two records in the database. These two records would be the time that
work on the job was started and the time that work on the job was ended. I
need to be able to calculate the amount of time spent on that job.
The only variation from this would be if multiple "punches" would take place
on any one job. This is a very likely situation because of break times,
lunches, and jobs that may span several days or have multiple operators
working on the same job.
Can someone help me figure out how to do these calculations please??
Thanks