J
James Griffin
I have several time fields in time format such as 15:00 as 3pm for for
timeoutDay1 to timeoutDay5 taken away from timeinDay1 to timeinDay5 total
together to give a hourly summation for a working week hourtotals.
in empression builder code:
=([ClockoutDay1]-[ClockinDay1]+[ClockoutDay2]-[ClockinDay2]+[ClockoutDay3]-[ClockinDay3]+[ClockoutDay4]-[ClockinDay4]+[ClockoutDay5]-[ClockinDay5]+[ClockoutDay6]-[ClockinDay6]+[ClockoutDay7]-[ClockinDay7])
(the above code calculates the total time in days and only appears in some
data of the forms but not in the table and not in hours just 0.125 of a day
meaning 3 hours)
what does the VBA code looklike to save to a form "clockings" or a table
"clockings_table"? the vraiable is total_hours
Any help would be much appreciated
timeoutDay1 to timeoutDay5 taken away from timeinDay1 to timeinDay5 total
together to give a hourly summation for a working week hourtotals.
in empression builder code:
=([ClockoutDay1]-[ClockinDay1]+[ClockoutDay2]-[ClockinDay2]+[ClockoutDay3]-[ClockinDay3]+[ClockoutDay4]-[ClockinDay4]+[ClockoutDay5]-[ClockinDay5]+[ClockoutDay6]-[ClockinDay6]+[ClockoutDay7]-[ClockinDay7])
(the above code calculates the total time in days and only appears in some
data of the forms but not in the table and not in hours just 0.125 of a day
meaning 3 hours)
what does the VBA code looklike to save to a form "clockings" or a table
"clockings_table"? the vraiable is total_hours
Any help would be much appreciated