H
haviv
Hai,
I am in the middle creating report in access to count working turn time. I
have a series raw data consist of three coloum
1. User
2. Time and Date of Start working project
3. Time and Date of finished working project
4. Working hour from 08.00 - 17.00
The issue here the user can start at anytime he like and finish at any time
he like. But i need to count how many hours have he use to finish the
project. I can create a logic to count. Issue here i have to be able create a
logic or function than can cater below possible event
Event one
If project starts at 07.45 and finish at 08.45 then the turn time will be 45
minute
(08.45 minus 08.00)
Event two
If the projects starts at 08.45 and finish at 09.45 the turn time will be 1
hour
(09.45 minus 08.45)
Event three
If the project starts at 16:00 and finish at 18:00 the turn time will be 2
hour
(18.00 minus 16.00)
Event four
If the project starts at 16:00 today and finish at 09:00 the next day the
turn time will be 2 hour as
(17.00 minus 16.00 plus 09.00 minus 08.00)
Event five
If the project starts at 16:00 today and finish at 09:00 the next 2 day the
turn time will be 10 hour
(17.00 minus 16.00 plus 17.00 minus 08.00 plus 09.00 minus 08.00)
You see i need a logic can cater all event the tricky part is in the even
three and four which hard to be diffrentiate
Please advise if any of you have a sample of project of a sample of logic
that can cater all above event
Sincerely Yours
Haviv
I am in the middle creating report in access to count working turn time. I
have a series raw data consist of three coloum
1. User
2. Time and Date of Start working project
3. Time and Date of finished working project
4. Working hour from 08.00 - 17.00
The issue here the user can start at anytime he like and finish at any time
he like. But i need to count how many hours have he use to finish the
project. I can create a logic to count. Issue here i have to be able create a
logic or function than can cater below possible event
Event one
If project starts at 07.45 and finish at 08.45 then the turn time will be 45
minute
(08.45 minus 08.00)
Event two
If the projects starts at 08.45 and finish at 09.45 the turn time will be 1
hour
(09.45 minus 08.45)
Event three
If the project starts at 16:00 and finish at 18:00 the turn time will be 2
hour
(18.00 minus 16.00)
Event four
If the project starts at 16:00 today and finish at 09:00 the next day the
turn time will be 2 hour as
(17.00 minus 16.00 plus 09.00 minus 08.00)
Event five
If the project starts at 16:00 today and finish at 09:00 the next 2 day the
turn time will be 10 hour
(17.00 minus 16.00 plus 17.00 minus 08.00 plus 09.00 minus 08.00)
You see i need a logic can cater all event the tricky part is in the even
three and four which hard to be diffrentiate
Please advise if any of you have a sample of project of a sample of logic
that can cater all above event
Sincerely Yours
Haviv