In the form query, in a blank column, enter
Code:
WkHrs: DateDiff("h", StartTime, EndTime)
The function will return whole hours. (use Actual times, not scheduled)
On the form, add a text box and bind it to the "WkHrs" field (column).
Switch to normal view and see if the hours are as expected.
If you use
Code:
WkHrs: DateDiff("n", StartTime, EndTime)
DateDiff() will return minutes.
Examples:
StartTime = 6:15 pm
EndTime = 11:45 pm
----------------------------
WkHrs: DateDiff("h", StartTime, EndTime) = 5 hours
WkHrs: DateDiff("n", StartTime, EndTime) = 330 minutes
WkHrs: DateDiff("n", StartTime, EndTime)/60 = 5.5 hours
See HELP for the DateDiff function.