G
Guest
I have a Table that has these filed formatted as number
1. TravelTime
2. PreperationTime
3. WorkTime
4. Daily Hours
I am looking for code that would SUM TravelTime, PreperationTime and
WorkTime and insert them into DailyHours On After update event of each of
1st, 2nd and 3rd filed and formatted as Hours.Minutes.
I’ve managed to get this close but not formatted as hours.minutes
This is what I did:
On After updated of 1st, 2nd and 3rd filed I wrote this code:
Daily Hours = TravelTime + PreperationTime + WorkTime
The problem with this is that instead of displaying 2.10 it displays 1.70.
Please assist?
Adnan
1. TravelTime
2. PreperationTime
3. WorkTime
4. Daily Hours
I am looking for code that would SUM TravelTime, PreperationTime and
WorkTime and insert them into DailyHours On After update event of each of
1st, 2nd and 3rd filed and formatted as Hours.Minutes.
I’ve managed to get this close but not formatted as hours.minutes
This is what I did:
On After updated of 1st, 2nd and 3rd filed I wrote this code:
Daily Hours = TravelTime + PreperationTime + WorkTime
The problem with this is that instead of displaying 2.10 it displays 1.70.
Please assist?
Adnan