I have a report that uses two tables from the same database. One table contains Time & attendance info, i.e list of shop floor staff and their clock on /off hours for each day. The other table contains information about the jobs the men worked on, which is usually one job in the day but could be 2 or 3 different jobs in the day.
I am trying to compare T&A hours with Hours worked on jobs on the same day. Where the man has worked on only one job in the day, the report is fine. However, where the man works on several jobs in the day I get multiple instances of the T&A hours, which is a problem when I am trying to compare totals.
eg
Date Id T&A_Hours Job_Hours Job
12/05/2002 222 8.5 8.2 Job123
12/05/2002 321 8.5 0.3 Job222
12/05/2002 321 8.5 8.1 Job456
The problem here is that man 321 only worked one shift in the day, but two instances are showing in the list.
Thanks for any ideas
I am trying to compare T&A hours with Hours worked on jobs on the same day. Where the man has worked on only one job in the day, the report is fine. However, where the man works on several jobs in the day I get multiple instances of the T&A hours, which is a problem when I am trying to compare totals.
eg
Date Id T&A_Hours Job_Hours Job
12/05/2002 222 8.5 8.2 Job123
12/05/2002 321 8.5 0.3 Job222
12/05/2002 321 8.5 8.1 Job456
The problem here is that man 321 only worked one shift in the day, but two instances are showing in the list.
Thanks for any ideas