BALLYMOUNT
IS-IT--Management
Hi ,
I've got a database of staff clock-in / clock out times. What I want to do is report on the number of staff in work each hour of the day. If a person is in more than 35 minutes out of the hour then they are regarded as being in for that whole hour.
Database example;
Fields: StaffNumber,Swipe1,Swipe2,Swipe3,Swipe4
Example Data: 088 ,9:05 ,11:30, 12:01, 18:00
098 ,9:10 ,10:20, 10:45, 12:01
187 ,8:55 ,11:15, 11:45, 14:00
etc,etc.
The outputed report should show the following;
Example Layout
Time: NumberOfStaffInWork
9-10 3
10-11 2
11-12 2
12-13 2
13-14 2
14-15 2
15-16 1
16-17 1
17-18 1
18-19 0
etc,etc .
Any ideas on the best approach ?
I've got a database of staff clock-in / clock out times. What I want to do is report on the number of staff in work each hour of the day. If a person is in more than 35 minutes out of the hour then they are regarded as being in for that whole hour.
Database example;
Fields: StaffNumber,Swipe1,Swipe2,Swipe3,Swipe4
Example Data: 088 ,9:05 ,11:30, 12:01, 18:00
098 ,9:10 ,10:20, 10:45, 12:01
187 ,8:55 ,11:15, 11:45, 14:00
etc,etc.
The outputed report should show the following;
Example Layout
Time: NumberOfStaffInWork
9-10 3
10-11 2
11-12 2
12-13 2
13-14 2
14-15 2
15-16 1
16-17 1
17-18 1
18-19 0
etc,etc .
Any ideas on the best approach ?