Hi,
Please help me to sort out the following criteria.
Table: [InOut field, 0-CheckIn, 1-CheckOut]
EmpID | EmpName | InOut | _Year | _Month | _Day | _Hour | _Minute |
---|---|---|---|---|---|---|---|
7001 | John | 0 | 2016 | 05 | 24 | 08 | 30 |
7001 | John | 1 | 2016 | 05 | 24 | 17 | 30 |
7002 | Mathew | 0 | 2016 | 05 | 24 | 08 | 25 |
7002 | Mathew | 1 | 2016 | 05 | 24 | 17 | 40 |
Report Output Expected:
Report - 1 [All Employees on a particular date]
DATE: 24-05-2016
Sl No | EmpID | EmpName | IN Time | Out Time |
---|---|---|---|---|
1 | 7001 | John | 08:30 | 17:30 |
2 | 7002 | Mathew | 08:25 | 17:40 |
Report - 2 [Individual Employee Wise]
NAME: John [more data in table...]
Sl No | Date | IN Time | OUT Time |
---|---|---|---|
1 | 24-05-2016 | 08:30 | 17:30 |
2 | 25-05-2016 | 08:10 | 17:15 |
3 | 26-05-2016 | 08:00 | 17:25 |
Please help
Thanks in Advance
Arun Madhav